|
From: Francois B. <fb...@us...> - 2003-12-16 13:15:25
|
Hello Parag, You can't ! What I meant was that to set the title, you could instead do: <property name=3D"title"><value type=3D"string" data=3D"Main Application Login"/></property> If you want to have Swing components as XML data items, use the new XML serialization method in JDK 1.4. Hope that helps, Fran=E7ois On Mon, 15 Dec 2003 21:55:23 -0800, "Parag Sagdeo" <pa...@la...> said: > Hi, > In your > http://jgb.sourceforge.net/documentation/tutorials/simplewindow/index.ph > p > <http://jgb.sourceforge.net/documentation/tutorials/simplewindow/index.p > hp> page u have mentioned that=20 > ...... > JDialog loginDialog =3D (JDialog)guiBuilder.get("loginDialog"); > loginDialog.setTitle("Main Application Login"); > ...... > "After you've written this code, you realize that you will update the > XML source file since you are setting properties on the dialog. But, let > us leave that for another time... "=20 > but I did not find it any where! I want to know after getting our > required dialog and showing it to the user, how to get the properties of > containing widgets (textfield, combobox) back in xml format. > Thanks > Regards, > Parag Sagdeo |