JDK-6349556 : Add a palette style to the title bar of JFrame and JDialog
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-11-14
  • Updated: 2006-08-28
  • Resolved: 2006-08-28
Related Reports
Duplicate :  
Relates :  
Description
A DESCRIPTION OF THE REQUEST :
It should be nice to be able to change the style of the title bar of JFrame and/or JDialog, to get a palette style, meaning with a small title bar.

JUSTIFICATION :
- It's already available for JInternalFrame thanks to the call :
internalWindow.putClientProperty ("JInternalFrame.isPalette", Boolean.TRUE);

- It's available on most operating systems and lots of native applications use palettes in their GUI. Using the setAlwaysOnTop available method of java.awt.Window added in J2SE 5.0, it would help to create multiple palettes that integrate correctly in the OS.

- In current JDK, a floating JToolBar looks ugly with an unusual huge title bar.

- It's available in SWT with SWT.TOOL style in Shell class. So why not in Swing����or AWT ?

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
This feature could be available with setPalette / isPalette methods added to JFrame and JDialog classes or even better to Frame and Dialog AWT classes.

CUSTOMER SUBMITTED WORKAROUND :
No workaround miserably