开发者

How to remove the active title bar of a frame?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜