United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6675399 Nimbus LAF should support window decorations
JDK-6675399 : Nimbus LAF should support window decorations

Details
Type:
Enhancement
Submit Date:
2008-03-14
Status:
Open
Updated Date:
2011-04-28
Project Name:
JDK
Resolved Date:
Component:
client-libs
OS:
windows_xp
Sub-Component:
javax.swing
CPU:
x86
Priority:
P5
Resolution:
Unresolved
Affected Versions:
6u10
Targeted Versions:

Related Reports

Sub Tasks

Description
A DESCRIPTION OF THE REQUEST :
Nimbus currently (as of 6u10 build 13) does not support window decorations.  I.e. getSupportsWindowDecorations() returns false and as expected in that case,
	frame.setUndecorated(true);
	frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
results in a JFrame with no decorations.


JUSTIFICATION :
Since the Nimbus look and feel clashes with the platforms native look and feel in many cases, the combination of platform native decorations and nimbus controls can look awkward.  Nimbus already has decorations for internal frames, perhaps it would not take much to support top-level window decorations so an application using the Nimbus look and feel can have a consistent look.

                                    

Comments
EVALUATION

This is something we have thought about and would like to support. There were two issues holding it up: One is there is no support for decoraded windows in Synth LAF which Nimbus is built apon which means extra work adding it to Synth before Nimbus can support it. Secondly Nimbus windows have rounded corners which is was means shaped windows which was not supported till very late builds of 6u10. Hopefully this will be a future feature for Nimbus.
                                     
2008-04-14



Hardware and Software, Engineered to Work Together