[Java-gnome-developer] Glade forms
Brought to you by:
afcowie
From: Marc R. <ma...@sh...> - 2006-11-18 23:54:42
|
Hi, I am new java gnome; it looks very interesting and I've decided to try it out. One of my questions is how do you create an instance of a Form. I designed it all in glade of course, but as soon as I run the program and load the glade file, _all_ of the forms I designed become visible (??) without me activating them in any way. If I close the forms, I can no longer show them by doing "form.show()" because the form has been disposed. In swing, you do something like JFrame frame = new MyForm1(); frame.setVisible(true); .... frame.dispose(); and later on again, I can do that same code without any problems. Is there a similar mechanism using glade, or what is the recommended way of dealing with calling the same form multiple times. Also, how do you stop them all from appearing when I load the glade file. Thanks for your time, Marc |