<AWT Dev> Bug 6913179, FileDialog uses native GTK under Linux: first patch

Costantino Cerbo c.cerbo at gmail.com
Thu Jan 28 15:28:33 PST 2010

Hallo Peter, Hello Anthony,

in the attached patch I take care of all the last Peter's comment.

Unfortunately the problem with the EDT is still there.

2010/1/28 Anthony Petrov <Anthony.Petrov at sun.com>:
> What do you mean by "doesn't start"? Doesn't gtk_main() print out any
> diagnostic output to stderr? Or does it get invoked at all?
Unfortunately no diagnostic output is printed to stderr... try yourself...
I've also init the GLib thread system and call gdk_threads_enter() and
gdk_threads_leave() but the problem remains.

I've no idea how to solve this problem... I've tried also with
SwingUtilities#invokeLater and SwingWorker...
I ask again for your help: It would be very nice if some of you can
address his mind to the solution of this remaining issue... otherwise
all the work done until now goes lost.

Thanks a lot!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b6913179-4.patch
Type: application/octet-stream
Size: 24340 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20100129/f5a22e73/b6913179-4.patch 

More information about the awt-dev mailing list