Hallo Damjan, it would be great, if we could update the JFileChooser in the GTK L&F. When I had more time I've tried to emulate it completly in swing (without native code), but the awt & swing team didn't like this approach. Unfortunately I've now not so much time to start a new task from scratch but I could support you by testing on Fedora, Suse and Solaris. There is already the issue 5090726 in the Sun Bug Database.
Cheers, Costantino P.S.: thanks a lot for your patch about the awt FileDialog: I'll test it on monday. 2010/2/12 Damjan Jovanovic <[email protected]>: > On Thu, Jan 28, 2010 at 12:52 AM, Costantino Cerbo <[email protected]> wrote: >> Hi Peter, >> >> 2010/1/26 Peter Zhelezniakov <[email protected]>: >>> Note that JFileChooser has some bells and whistles like setAccessory() and >>> setFileSystemView(). We're going to have hard time making GTK paint the >>> right thing =) I'm not sure it is at all possible. >> >> I know... therefore I start this project to emulate the native GTK in Swing: >> http://code.google.com/p/gtkjfilechooser/ >> >> Maybe the Awt and the Swing team may reconsider to adopt this solution >> in the next Java releases. >> As I already stated, I can fully donate the code to the OpenJDK >> project: consider it yours! ;-) > > The GtkFileChooser seems fairly customizable: setAccessory() can be > implemented using gtk_file_chooser_set_preview_widget(), and the > filesystem view seems customizable too. You can also slot in custom > widgets (eg. an "Open read-only" checkbox). > > Even if GtkFileChooser can't do something, you can embed > GtkFileChooserWidget into a larger window, and add any surrounding > widgets you like. > > If you need help, let me know. > >> Chreers, >> Costantino >> > > Regards > Damjan >
