How to replace/remove the icon in the title bar (window decoration) of a [J]Frame?
Submitted by: AdministratorUse setIconImage().
To revert to the platform's default icon use:
frame.setIconImage(null);
On some platforms this might remove the icon. Alternatively you can try a transparent Image if you don't want to have an icon.
Submitted by: Administrator
To revert to the platform's default icon use:
frame.setIconImage(null);
On some platforms this might remove the icon. Alternatively you can try a transparent Image if you don't want to have an icon.
Submitted by: Administrator
Read Online Java GUI Framework Job Interview Questions And Answers
Top Java GUI Framework Questions
☺ | What is Event-Driven-Thread (EDT) in Swing? |
☺ | What is Qt Jambi? |
☺ | What is JavaFX? |
☺ | What is difference between invokeAndWait and invokeLater? |
☺ | What is an SSCCE? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |