JDK-6757222 : Adopt GTK engine from Swing
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2008-10-08
  • Updated: 2018-09-05
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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
Currently, Swing has a machinery to deal with GTK library in the following file (but not restricted by):
src/share/classes/com/sun/java/swing/plaf/gtk/*
src/solaris/native/sun/awt/gtk2_interface.*
src/solaris/native/sun/awt/swing_GTKEngine.c
AWT may pick those functionality to deal with GTK API in a particular way:
1) to read GTK properties to get closer to GNOME (mouse timings is one of them)
2) to invoke GTK functions supporting desktop integration with mail agent, browser, etc.
3) to simplify possible implementation of bundles splitting for Java kernel on unix.

Comments
EVALUATION Although it's a valuable thing for code quality, it requires stronger need from other parts.
30-09-2009

SUGGESTED FIX http://sa.sfbay.sun.com/projects/awt_data/7/5076635.1/
08-10-2008

SUGGESTED FIX Webrev for moving GTK engine into AWT is attached.
08-10-2008