Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » GUI icons doesn't apear
GUI icons doesn't apear [message #164733] Tue, 02 December 2003 12:35 Go to next message
Eclipse UserFriend
Originally posted by: cbondrea.robotics.ucv.ro

Hi users of Eclipse.
I Have a small problem with eclipse when I try to create a JAR. Actually
Eclipse create the jar, but after that if I will lunch the jar in execution
I have the problem: All the icons which I used them are not loaded.
Everything else working ok.
What I'm doing is the next steps:
1: File
2: Export
3: Jar File
4: I select all the sources which I use
5: Finish

The jar file is created without any problems.
I lunch the jar file: java -mx128m -cp jarname.jar mainclass
Everything it's working fine, but the icons on the GUI which I want to
create doesn't work.

Any idea please.

P.S. the icons are in the folder icons on the source file.
the folders are like that
Folder1
Folder2
Folder3
icons

In Folder1 is the main class.



------------------------------------------------------------ ----------------
----
Department of Engineering Science
University of Oxford Parks Road,
OXFORD,OX1 3PJ,UK
Land-Line: +44 1865 273001
Mobile : +44 7791 860696
E-mail: nicolae.bondrea@christ-church.oxford.ac.uk
cbondrea@robotics.ucv.ro
Re: GUI icons doesn't apear [message #164773 is a reply to message #164733] Tue, 02 December 2003 13:06 Go to previous messageGo to next message
Eclipse UserFriend
Make your icon folder a source folder and this will go away.

-Phil

Nicolae Bondrea wrote:
> Hi users of Eclipse.
> I Have a small problem with eclipse when I try to create a JAR. Actually
> Eclipse create the jar, but after that if I will lunch the jar in execution
> I have the problem: All the icons which I used them are not loaded.
> Everything else working ok.
> What I'm doing is the next steps:
> 1: File
> 2: Export
> 3: Jar File
> 4: I select all the sources which I use
> 5: Finish
>
> The jar file is created without any problems.
> I lunch the jar file: java -mx128m -cp jarname.jar mainclass
> Everything it's working fine, but the icons on the GUI which I want to
> create doesn't work.
>
> Any idea please.
>
> P.S. the icons are in the folder icons on the source file.
> the folders are like that
> Folder1
> Folder2
> Folder3
> icons
>
> In Folder1 is the main class.
>
>
>
> ------------------------------------------------------------ ----------------
> ----
> Department of Engineering Science
> University of Oxford Parks Road,
> OXFORD,OX1 3PJ,UK
> Land-Line: +44 1865 273001
> Mobile : +44 7791 860696
> E-mail: nicolae.bondrea@christ-church.oxford.ac.uk
> cbondrea@robotics.ucv.ro
>
>
Re: GUI icons doesn't apear [message #164788 is a reply to message #164733] Tue, 02 December 2003 13:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

Did you select the icons folder too for export?


--
Thanks, Rich Kulp

Re: GUI icons doesn't apear [message #165139 is a reply to message #164788] Wed, 03 December 2003 04:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cbondrea.robotics.ucv.ro

Yes I select even the icons folder for export
and still doesn't work
If I put the icons folder in the same folder of the jar created, after that
running the jar everything is working.

Probable is something wrong with some path, and I don't understand what it
is.
If I run my application from eclipse everything it is ok.

Please help me.


> Did you select the icons folder too for export?
>
>
> --
> Thanks, Rich Kulp
> 
>
Re: GUI icons doesn't apear [message #165171 is a reply to message #164773] Wed, 03 December 2003 06:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cbondrea.robotics.ucv.ro

Like how I already told, if I put in one director the icons folder near to
the jar already created, my aplications runing with icons, so everithing it
is ok.
Were I can modify the path for icons inside of the jar.

"Philip Borlin" <pborlin@amirsys.com> wrote in message
news:bqik1d$jcu$1@eclipse.org...
> Make your icon folder a source folder and this will go away.
>
> -Phil
>
> Nicolae Bondrea wrote:
> > Hi users of Eclipse.
> > I Have a small problem with eclipse when I try to create a JAR. Actually
> > Eclipse create the jar, but after that if I will lunch the jar in
execution
> > I have the problem: All the icons which I used them are not loaded.
> > Everything else working ok.
> > What I'm doing is the next steps:
> > 1: File
> > 2: Export
> > 3: Jar File
> > 4: I select all the sources which I use
> > 5: Finish
> >
> > The jar file is created without any problems.
> > I lunch the jar file: java -mx128m -cp jarname.jar mainclass
> > Everything it's working fine, but the icons on the GUI which I want to
> > create doesn't work.
> >
> > Any idea please.
> >
> > P.S. the icons are in the folder icons on the source file.
> > the folders are like that
> > Folder1
> > Folder2
> > Folder3
> > icons
> >
> > In Folder1 is the main class.
> >
> >
> >
>
> ------------------------------------------------------------ --------------
--
> > ----
> > Department of Engineering Science
> > University of Oxford Parks Road,
> > OXFORD,OX1 3PJ,UK
> > Land-Line: +44 1865 273001
> > Mobile : +44 7791 860696
> > E-mail: nicolae.bondrea@christ-church.oxford.ac.uk
> > cbondrea@robotics.ucv.ro
> >
> >
>
Re: GUI icons doesn't apear [message #165279 is a reply to message #165139] Wed, 03 December 2003 10:31 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

What method are you using to access the icons? Depending on the method
determines where the icons need to be.


--
Thanks, Rich Kulp

Previous Topic:Is there a Swing GUI builder
Next Topic:MultiPageEditorPart/part composition is flawed
Goto Forum:
  


Current Time: Sat May 10 16:53:20 EDT 2025

Powered by FUDForum. Page generated in 0.03583 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top