[Java-gnome-developer] glade event problem and glade java examples wanted
Brought to you by:
afcowie
From: Michael S. <mic...@gm...> - 2005-02-11 04:11:39
|
hi i installed java-gnome today and wanted to try it out with glade. i compiled and ran the HelloWorldGlade example from: http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/JavaGnomeHelloWorld#HelloWorldGlade The gui shows but the events don't work (clicking on the button does not do anything, and closing the window does not terminate the application either). when i launch the application the following message appears on the command line twice (i suppose once for the button event and once for the window event): java.lang.reflect.InvocationTargetException: ListenerDelegate.create failure does anyone have any idea to why this happens and how to fix it? and does anyone know of a / have a bigger / better example of how to use glade with java-gome (on how to access widget properties and to handle events)? also the the jgo.sh script on the the java-gnome.sf.net website should probably mention that its last line: ${JAVA} -classpath ${JG_JARS}gtk2.4.jar:${JG_JARS}gnome2.8.jar:${JG_JARS}glade2.4.jar:${JG_JARS}gconf2.8.jar:${CLASSPATH} $@ might need modifications regarding the version numbers of jar files. it took me hours to figure out why my java-gnome installation didn't work. maybe on of the website maintainers reads this email and can mention that. thanks michael salcher -- DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen! AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl |