Answers

Question and Answer:

  Home  Java GUI Framework

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

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.

 171 views

More Questions for you: