<AWT Dev> <Swing Dev> Gtkjfilechooser: new release 1.4
Anthony.Petrov at Sun.COM
Mon Jan 11 07:00:41 PST 2010
The fix actually belongs to the AWT, so I'm CC'ing the awt-dev@ mailing
list where we can continue to discuss the topic.
On 1/5/2010 4:59 PM Costantino Cerbo wrote:
>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6913179, which we would
> I would follow this steps:
> 1. Write some C code to call the desired functions in GtkFileChooserDialog
> 2. Generate the JNI interface
> 3. Rewriting sun.awt.X11.XFileDialogPeer to call the native code through JNI
> What do you think about? Do you have further suggestions?
Generally we tend to avoid using loads of native code in the XToolkit.
You can notice it by looking at the src/solaris/native/sun/xawt/
directory: there are just four files.
Would that be possible to take a similar approach with the enhanced file
Also, please have a look at 6757222 which is linked from the original
bug report. It seems that both Swing and AWT could benefit if the
interface to the GTK were shared among the libraries. Though that looks
like a slightly bigger project.
More information about the awt-dev