[Java-gnome-developer] Something maybe wrong in the Second.java!
Brought to you by:
afcowie
From: bbskill <bb...@to...> - 2004-10-16 10:23:10
|
in Chapter 3. Adding Menus of the java-gnome-tutorial, Second.java private void createMainWindow() { app = new App("Second", "Second App"); app.setDefaultSize(200, 200); app.addListener(new LifeCycleListener() { public void lifeCycleEvent(LifeCycleEvent event) { public void lifeCycleEvent(LifeCycleEvent event) {} public boolean lifeCycleQuery(LifeCycleEvent event) { Gtk.mainQuit(); return false; } } }); } Why should lifeCycleEvent and lifeCycleQuery be included in the lifeCycleEvent function ??? I think it is a clerical error,isn't it ? |