Cloudgarden's Discussion Board
Forums: Search: Several forums are available for people to post questions/comments about Java Speech or any of the CloudGarden products. As more messages are posted this discussion board should provide a useful, searchable, support database.
o AliceTalker (42)
o JSAPI Projects (69)
o Java Speech API (857)
o Jigloo GUI Builder for Eclipse (3322)
o SwingScroller (0)
o US Election 2004 (3)
Searches text and subject fields in all forums. The search matches as many words as possible. Don't use "AND" or "OR".
Latest "Jigloo GUI Builder for Eclipse" Topics [ Start new "Jigloo GUI Builder for Eclipse" Topic  ]

Enter name (no spaces) and text (< 2000 chars).
Name:
Watch thread: (an email will be sent to you when a reply is posted to this thread)
Email (if watching thread): (will not be made public, or shared with anyone)
Save name & email: (will store info in a cookie)
Subject: Re: JButton icons not showing up

To prevent spamming, please type this code "qmmmqt" in the box.
Text:

Replying to:
JButton icons not showing up
Author: Jeff Lanzarotta
12/11/07 13:03
Hello,

I am new to Jigloo so be easy on me :)

I have created a JFrame with a JToolBar on it. I then created a JButton on it. I then wanted to add an icon to the JButton, which it allows me to do, but the icon does not show up.

My directory structure is:

e:\workspace
e:\workspace\elm
e:\workspace\elm\bin
e:\workspace\elm\lib
e:\workspace\elm\src
e:\workspace\elm\src\elm
e:\workspace\elm\src\elm\Main.java
e:\workspace\elm\src\elm\resources\Main.properties
e:\workspace\elm\src\elm\resource\icons
e:\workspace\elm\src\elm\resources\icon\document-new.png

The icon I am trying to use is document-new.png.

Any ideas?

Thanks.