Wednesday, 24 July 2013

how to change the coffee cup in #Java Frames #GUI

it's weird when you install your program to customer and found that cup in your frames,

While handling this issue is very easy.


you just want to change the icon Image of your fame.






Code Example:

        setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("icon.ico")));


Good luck. 

No comments:

Post a Comment