Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Replacing default icon in JDialog

843804Oct 25 2004 — edited Jan 9 2005
This doesn't work, is there any other way to replicate this procedure for dialogs as opposed to frames

ImageIcon customIcon = new ImageIcon("com/cboe/guiapp/search.jpg");
dialog.setIconImage(customIcon.getImage());
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 6 2005
Added on Oct 25 2004
4 comments
160 views