|
From: Francois B. <fb...@us...> - 2003-10-22 06:32:19
|
Hi ! This is normal. When did you ask the window to be shown ? :) You need one of the following: * set the visible property to true * retrieve the window reference from Builder and call setVisible(true) Builder will not show anything by itself. It's responsibility is to build windows, nothing else. This makes it possible to use Builder to build a multitude of windows, and have none of them show up on screen.=20 Then, later, the windows can be shown as appropriate, by the event dispatchers. Hope that helps ! Fran=E7ois On Wed, 22 Oct 2003 00:07:57 +0800, "Stelar" <ste...@in...> said: > Hi, >=20 > I can't run the following xml file as defined in the tutorial: > <?xml version=3D"1.0" encoding=3D"iso-8859-1"?> > <!DOCTYPE window PUBLIC "-//SOURCEFORGE/Java Gui Builder DTD version > 1.0//EN" > "http://jgb.sourceforge.net/dtd/jgb.dtd"> > <window id=3D"loginDialog" type=3D"jdialog"> > </window> >=20 > This will produce no error, but no window pop up. However, the provided= =20 > simplewindow.xml in the 0.6.5a tarball works. Seems that when I just > leave=20 > <window> and </window> tags only, it won't work anymore.... >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general Developer of Java Gui Builder http://jgb.sourceforge.net/ |