Java Swing applications by default have the Java coffee cup icon appear in the top left corner of the application.
I would like to replace this with my own image - what API is used?
Can this be done at run time, or must something be done at install time?
Thanks!
JFrame.setIconImage(Image image) does exactly that.
Look at the setIconImage method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With