Reputation: 64622
I have a JFrame which displays a title bar. Active title bar as it's called in Windows desktop properties. How to remove this bar?
Upvotes: 0
Views: 1961
Reputation: 1004
You can use setUndecorated(boolean undecorated) method in JFrame.
Note: This method can only be called while the frame is not displayable.
Upvotes: 3
Reputation: 9256
frames have titlebars
windows do not
check out http://academicjava.com/Java_help/Tutorial_Examples_Swing_5.html for examples
Upvotes: 0