How to replace/remove the icon in the title bar (window decoration) of a [J]Frame?

Submitted by: Administrator
Use 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

Read Online Java GUI Framework Job Interview Questions And Answers