<Swing Dev> Issue 5090726 - GTK L&F: Need new FileChooserUI to match native GTK 2.4 widget

Pavel Porvatov Pavel.Porvatov at Sun.COM
Mon Nov 9 10:18:45 UTC 2009


Hi Costantino,

I've tried to run the demo but I got the next exception:
java -jar gtkjfilechooser-demo.jar
Exception in thread "main" java.io.IOError: 
java.io.FileNotFoundException: Cannot find resource null
        at 
eu.kostia.gtkjfilechooser.GettextResource.<init>(GettextResource.java:187)
        at eu.kostia.gtkjfilechooser.I18N.<clinit>(I18N.java:45)
        at 
eu.kostia.gtkjfilechooser.ui.GtkFileChooserUI.installStrings(GtkFileChooserUI.java:752)
        at 
javax.swing.plaf.basic.BasicFileChooserUI.installDefaults(BasicFileChooserUI.java:241)
        at 
javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:156)
        at javax.swing.JComponent.setUI(JComponent.java:664)
        at javax.swing.JFileChooser.updateUI(JFileChooser.java:1787)
        at javax.swing.JFileChooser.setup(JFileChooser.java:374)
        at javax.swing.JFileChooser.<init>(JFileChooser.java:347)
        at javax.swing.JFileChooser.<init>(JFileChooser.java:300)
        at 
eu.kostia.gtkjfilechooser.demo.FileChooserDemo.<init>(FileChooserDemo.java:135)
        at 
eu.kostia.gtkjfilechooser.demo.FileChooserDemo.main(FileChooserDemo.java:638)
Caused by: java.io.FileNotFoundException: Cannot find resource null
        ... 12 more

Regards, Pavel
> Hello,
>
> To implement the new GTK file chooser I've started this open source project:
> http://code.google.com/p/gtkjfilechooser/
>
> I've just released the first beta version tested on Fedora 10 and
> Ubuntu 9.04 and I'd like to integrate it in the JDK: how do we do
> that?
>
> You can already run a full working demo, download the .zip for the
> last version, unpack it and run
>   $ java -jar gtkjfilechooser-demo.jar
>
> Other useful infos are in the wiki pages.
>
> I'm looking forward to hearing your feedback
> Best Regards,
> Costantino - Stuttgart, Germany
>   




More information about the swing-dev mailing list