JDK-6402325 : Swing toolbars vs native toolbars on Windows
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6,6u1
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-03-22
  • Updated: 2017-05-16
  • Resolved: 2009-12-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b78Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
If you compare Swing toolbars (say SwingSet2) and native toolbars, there's a difference in a couple of things.

1) The header style does not match native (smaller)
This visual difference is a fidelity issue.

2) The toolbar does not stay active with the main window like native
This prevents tooltips from being shown, since Swing doesn't show tooltips on inactive windows.

To fix this, we require support from AWT.

Comments
EVALUATION We need three window types: NORMAL - for regular windows. UTILITY - for toolboxes (either a WS_EX_TOOLWINDOW on Windows, or _NET_WM_WINDOW_TYPE_UTILITY on X11) POPUP - for menus and tooltips (WS_POPUP on Windows, or _NET_WM_WINDOW_TYPE_POPUP_MENU on X11) The fix is being reviewed at http://mail.openjdk.java.net/pipermail/awt-dev/2009-October/000994.html
23-10-2009

EVALUATION Discussed at http://mail.openjdk.java.net/pipermail/awt-dev/2009-August/000848.html
25-08-2009

EVALUATION I observed that issues with Java toolbars. Some swing bug about that has been closed recently: there is a little icon in a big toolbar despite the fact that there are a lot of empty space remained. I think it's because of Window decorations we apply on that toplevel. Native toolbars look differently. Should invstigate it better. For now I'm considering it as RFE.
23-03-2006

EVALUATION *** (#1 of 1): [ UNSAVED ] ###@###.###
23-03-2006