<AWT Dev> 6705345: Enable multiple file selection in AWT FileDialog: also for the new GtkFileDialogPeer.

Costantino Cerbo c.cerbo at gmail.com
Thu Feb 18 15:04:31 PST 2010

Hi Anthony,

here is the new patch for the bug 6913179 (FileDialog should use
native GTK file chooser on linux distros).

There are the most relevant changes:
  1. Dynamic link to libgthread-2.0.so.0 instead of libgthread-2.0.so
  2. GTK multithread support (gdk_threads_enter() and
gdk_threads_leave() as outlined by Damjan)
  3. New Thread to don't block the EDT
  4. Support for multiple file selection (bugs 6705345)

I'm looking forward to hearing your feedback!

2010/2/18 Anthony Petrov <Anthony.Petrov at sun.com>:
>> What about directory-only selection in FileDialog? Also in this case,
>> I can provide already a patch for the GtkFileDialogPeer (but not for
>> the other OSs).
> I don't think we're ready for that fix yet. We would really want this
> implemented on all supported platforms at once.
Okay, but meanwhile we can open an issue for this feature in the Sun
bug database, what do you think about?

Best regards,
Costantino from Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b6913179.patch
Type: application/octet-stream
Size: 35369 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20100219/a042f43a/b6913179.patch 

More information about the awt-dev mailing list