Re: [Java-gnome-developer] Glade forms
Brought to you by:
afcowie
From: Remy S. <rem...@gm...> - 2006-11-20 02:21:40
|
Hi Marc, Note that I haven't programmed in Swing in a long time, so I may be out of context here. > what is the recommended way of > dealing with calling the same form multiple times. You have to handle the LifeCycleEvent of the Window. I believe you capture the DELETE and DESTROY events and then return false? Or maybe it's true? Well, either one of them should prevent your gtk window from being disposed. I think later you have to call showAll() or maybe setVisible(true) to bring it up? Sorry, I haven't really programmed in JG for a while. :/ > Also, how do you stop > them all from appearing when I load the glade file. There should a 'visible' property in the 'properties' dialog for you to tweak this if I recall correctly. I have not used Glade in over a year and a half or so, but it's somewhere in there. So if you set it to false it's not going to appear upon application startup. Regards, Rem |