|
|
|
1000 Java Tips ebook
|
|
 

Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java
programming articles and tips. Please take your copy here.
Take your copy of free "Java Technology Screensaver"!. |
|
Q: How can I change the default icon on application window (java cup) to my own?
|
JavaFAQ Home » Daily Tips

Question: How can I change the default icon on application window (java cup) to my own?
Answer:
window.setIconImage(Toolkit.getDefaultToolkit().getImage("image.gif"));
Full Java code example is here:
Java Code Example:
MemImage is an in-memory icon showing a Color gradient Printer Friendly Page
Send to a Friend
..
Search here again if you need more info!
|
|
|