开发者

How to remove the active title bar of a frame?

开发者 https://www.devze.com 2022-12-12 03:17 出处:网络
I have a JFrame which displays a title bar. Active title bar as it\'s called in Windo开发者_如何学运维ws desktop properties. How to remove this bar?You can use setUndecorated(boolean undecorated) meth

I have a JFrame which displays a title bar. Active title bar as it's called in Windo开发者_如何学运维ws desktop properties. How to remove this bar?


You can use setUndecorated(boolean undecorated) method in JFrame.

Note: This method can only be called while the frame is not displayable.


frames have titlebars
windows do not
check out http://academicjava.com/Java_help/Tutorial_Examples_Swing_5.html for examples

0

精彩评论

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

关注公众号