Eliale / seaglass

Automatically exported from code.google.com/p/seaglass
0 stars 0 forks source link

setUndecorated(false) does not work #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an JFrame or a JDialog
2. Call the setUndecorated(false) method at the window

What is the expected output? What do you see instead?
Nothing happens, it was expected to hide the window controls, but they still 
are there.

What version of the product are you using? On what operating system? What
JRE version?
Ubuntu 10.10, JRE 1.6_20

Please provide any additional information below.
In some cases we need to hide the window controls to create custom windows.

Original issue reported on code.google.com by paulocan...@gmail.com on 16 Jul 2010 at 1:35

GoogleCodeExporter commented 8 years ago
That's because we set the window to undecorated ourselves so that we can draw 
our own title bar and other decorations. Use a JWindow instead.

Original comment by kahuxtable on 16 Jul 2010 at 3:31