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
crispy bacon. crispy tiny ad:
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 651 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 21, 2018 15:31:29.