JDK-6675399 : Nimbus LAF should support window decorations
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u10
  • Priority: P5
  • Status: Open
  • Resolution: Unresolved
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-03-14
  • Updated: 2011-04-28
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.
14-04-2008