[Java-gnome-developer] Using TreeView isgnals with Glade
Brought to you by:
afcowie
From: Khiraly <khi...@gm...> - 2005-05-01 19:00:43
|
Hi! I added the signals from Glade and created a method for this signal in my .java file. If I have forgotten to create the method in my jav afile, I got this error: java.lang.NoSuchMethodException: org.epointsystem.puli.gui.Puli.onUserlistTreeRowActivated Now I wanted to add a signal within a TreeView object. (I have already added in glade) I have this error message: java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.gnu.glade.ListenerDelegate.create(ListenerDelegate.java:125) at org.gnu.glade.LibGlade.connect(LibGlade.java:180) at org.gnu.glade.LibGlade.glade_xml_signal_autoconnect_full(Native Method) at org.gnu.glade.LibGlade.<init>(LibGlade.java:98) at org.gnu.glade.LibGlade.<init>(LibGlade.java) at org.epointsystem.puli.gui.Puli.<init>(Puli.java:64) at org.epointsystem.puli.gui.Puli.main(Puli.java:216) java.lang.reflect.InvocationTargetException: ListenerDelegate - create failure! Is it possible to add directly signals to TreeView from Glade? Best regards, Khiraly ps: I have follow the TreeView tutorial, but I wanted to use glade as much as it is possible |