Removing JFrame from taskbar in Java

I quickly looked through the topic, but did not find something like that.

My query: how can I prevent a child window from appearing on the windows taskbar when it is displayed?

+3
source share
2 answers

You need to use JDialog instead of JFrame

+4
source

JDK 1.7 offers you the setType method. Use the following method.

JFrame.setType(javax.swing.JFrame.Type.UTILITY)
+14
source

Source: https://habr.com/ru/post/1742352/


All Articles