Skip to main content



      Home
Home » Archived » Visual Editor (VE) » iconImage
iconImage [message #24179] Wed, 10 March 2004 00:32 Go to next message
Eclipse UserFriend
Originally posted by: webmaster.mkroll.de

Hello,

when I put a iconImage to my JFrame, I get a ClassNotFoundException in
buttom of the eclipse editor.
I can it compile and it runs without any problems, but the frameIcon will
not show in the VE-Editor, It's marked with an attention sign.

Error message:
iconImage :
java.lang.ClassNotFoundException(getClass...getResource...gf x.users.gif...)

Is this an error in the eclipse or VE build ???

I use the latest Eclipse version (Build:200402260800) with the aktually
build of VE, EMF and GEF.
Re: iconImage [message #24306 is a reply to message #24179] Wed, 10 March 2004 08:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mendelgili.netscape.net

M.Kroll wrote:
> Hello,
>
> when I put a iconImage to my JFrame, I get a ClassNotFoundException in
> buttom of the eclipse editor.
> I can it compile and it runs without any problems, but the frameIcon will
> not show in the VE-Editor, It's marked with an attention sign.
>
> Error message:
> iconImage :
> java.lang.ClassNotFoundException(getClass...getResource...gf x.users.gif...)
>
> Is this an error in the eclipse or VE build ???
>
> I use the latest Eclipse version (Build:200402260800) with the aktually
> build of VE, EMF and GEF.
>

What is the code for your iconImage setting? Have you used the VE's Icon
property editor (iconImage property) which generates something like this:

jFrame.setIconImage(java.awt.Toolkit.getDefaultToolkit().get Image( "D:/Eclipse/DevEclipse/Target/data/wsFeatureIcon.gif"));
Re: iconImage [message #24430 is a reply to message #24306] Wed, 10 March 2004 09:16 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

icon doesn't work in 1.0.0. We are still moving over to a new parsing
format and one of the casualties was icons. They need to be fixed up to
work with the new format.


--
Thanks, Rich Kulp

Re: iconImage [message #584070 is a reply to message #24179] Wed, 10 March 2004 08:21 Go to previous message
Eclipse UserFriend
M.Kroll wrote:
> Hello,
>
> when I put a iconImage to my JFrame, I get a ClassNotFoundException in
> buttom of the eclipse editor.
> I can it compile and it runs without any problems, but the frameIcon will
> not show in the VE-Editor, It's marked with an attention sign.
>
> Error message:
> iconImage :
> java.lang.ClassNotFoundException(getClass...getResource...gf x.users.gif...)
>
> Is this an error in the eclipse or VE build ???
>
> I use the latest Eclipse version (Build:200402260800) with the aktually
> build of VE, EMF and GEF.
>

What is the code for your iconImage setting? Have you used the VE's Icon
property editor (iconImage property) which generates something like this:

jFrame.setIconImage(java.awt.Toolkit.getDefaultToolkit().get Image( "D:/Eclipse/DevEclipse/Target/data/wsFeatureIcon.gif"));
Re: iconImage [message #584114 is a reply to message #24306] Wed, 10 March 2004 09:16 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

icon doesn't work in 1.0.0. We are still moving over to a new parsing
format and one of the casualties was icons. They need to be fixed up to
work with the new format.


--
Thanks, Rich Kulp

Previous Topic:BoxLayout
Next Topic:Generic PropertyEditors for type Object and Interfaces
Goto Forum:
  


Current Time: Sat May 10 07:05:55 EDT 2025

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

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

Back to the top