RE: [Java-gnome-developer] Pb with call back signature for insert _text signal.
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2001-09-20 16:26:27
|
Is the printout below taken directly from the output when you run the app? If so, you possibly have a serious problem with your JVM. The part of the output that reads "ILgnu/gtk/GtkObject" is very strange. Can you send me the entire example and I'll take a look at it. -Jeff > However, at run time, my insert_text method isn't found: > > vdv@evlist:~/Projects/project1$ java Edit > *** ERROR ***: Java-GNOME - cannot find callback method > insert_text in > the specified object with signature > (Ljava/lang/String;ILgnu/gtk/GtkObject;)V > *** ERROR ***: Java-GNOME - exception is: > Exception in thread "main" java.lang.NoSuchMethodError: insert_text > at gnu.gdk.BaseObject.signalConnect(Native Method) > at Edit.<init>(Edit.java:12) > at Edit.main(Edit.java:77) > > ** WARNING **: Java-GNOME - signal will not be mapped > |