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  ]

Cloudgarden Discussion Board  
This topic has 1 reply.       [ << Previous Topic | Start of Thread | >> Next Topic ]
JButton icons not showing up
Author: Jeff Lanzarotta
12/11/07 13:03 Reply
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.

Re: JButton icons not showing up
Author:Jeff Lanzarotta
Reply 1 of 112/11/07 13:50Reply
Never mind, it seems to be working now...