Forums Register Login
How do I add a custom icon to my Swing app?
It is using the default Sun Java cup. Also, it will be wrapped up in a jar file. I don't know if that makes a difference.
You can call the setIconImage method on the JFrame.

It takes in an Image object.
If you are going to load the image from a jar you could use -

Aaron R>
Thanks, Aaron
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 611 times.

All times above are in ranch (not your local) time.
The current ranch time is
Mar 17, 2018 20:37:44.