views:

232

answers:

2

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?

A: 

frames have titlebars
windows do not
check out http://academicjava.com/Java%5Fhelp/Tutorial%5FExamples%5FSwing%5F5.html for examples

adi92
+3  A: 

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

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

Varun