[Java-gnome-developer] Problems with FileChooserWidget
Brought to you by:
afcowie
From: Igor F. <if...@re...> - 2005-06-03 19:22:14
|
Hi everyone, I'm a fairly new user to java-gnome, so please bear with me. I seem to have some trouble with the FileChooserWidget. I first tried to use it in a semi-complex window, and got the following error (and no widget): -------- org.gnu.glade.GladeXMLException: unknown widget class 'GtkFileChooserWidget' at org.gnu.glade.LibGlade.glade_xml_new(Native Method) at org.gnu.glade.LibGlade.<init>(LibGlade.java:97) at org.gnu.glade.LibGlade.<init>(LibGlade.java) at com.redhat.uicopy.WindowLauncher.<init>(WindowLauncher.java:17) at com.redhat.uicopy.WindowLauncher.main(WindowLauncher.java:26) -------- Later on, I created a simple window and just stuck a file chooser in there without any other sugar. Both of these experiments are using Glade2. Again when I try to import this new glade file (with just the window with the chooser) into my java app I get the same exception. Does anyone have any idea on what might be causing this, or better yet, a solution? Thanks, Igor |