开发者

Remove a JFrame from taskbar in Java

开发者 https://www.devze.com 2022-12-28 01:37 出处:网络
I did a quick topic look, but did not find something similar. My query is: how can I prevent a child window appearing on the Wi开发者_如何学运维ndows taskbar when it is shown?JDK 1.7 brings you metho

I did a quick topic look, but did not find something similar.

My query is: how can I prevent a child window appearing on the Wi开发者_如何学运维ndows taskbar when it is shown?


JDK 1.7 brings you method setType. Use following method.

JFrame.setType(javax.swing.JFrame.Type.UTILITY)


You need to use a JDialog instead of a JFrame

0

精彩评论

暂无评论...
验证码 换一张
取 消