Skip to main content

Substance - change top left JAVA icon to mine

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
heinkoi459
Offline
Joined: 2011-03-29

Hi!!! I'm using Substance and I would like to change the top left Icon (JAVA icon) to mine. Anybody know?!???!
Thank you

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
heinkoi459
Offline
Joined: 2011-03-29

I found !

JFrame mainFrame = new JFrame();<br />
mainFrame.setIconImage(new ImageIcon("MY_IMAGE.GIF_PNG_JPG").getImage());