From: Kay <Kay...@be...> - 2005-10-24 13:31:08
|
Hi we have discussed your requests. We will develop 1) two new (optional) attributes for <View>: "title" and "name" that=20 would define the initial title and Swing name, respectively, of the=20 window. 2) two additional variations of Gui4j.createDialog(), one taking a=20 java.awt.Frame as its first ("parent") argument and one taking a=20 java.awt.Dialog. Is that what you wanted? Regards, Kay Kr=FCger-Barvels ---------------------------------------------------------------- beck et al. projects GmbH Theresienh=F6he 13, D-80339 M=FCnchen +49 89 544 253-14 mailto:Kay...@be... http://www.bea-projects.de ---------------------------------------------------------------- gui...@li... wrote on 21.10.2005 04:36:46: > Hi >=20 > Hi i have started using gui4j for my project, but needed some new=20 features.=20 > This is my situation - i send messages to my java code as input stream.=20 This=20 > consists of the xml message which pops up the GUI. This works fine. Now=20 what=20 > i want is to update this popped up GUI. All this has to be dynamic. I=20 have=20 > been going thru the various examples but everywhere you set the title of = the=20 > view in the java program. Is there any way to set the title of a view=20 (eg. a=20 > view that has just one label) from the xml i.e. i do not want to=20 > programatically specify the title of the view but let the xml decide=20 what it=20 > will be. I also want to specify the name of the window in the xml=20 code...=20 > so that i can use gui4jView.getWindow().setName(nameofwindow) where=20 > nameofwindow is again passed by xml. Currently the way i am doing is=20 that in=20 > onInit() of any component i pass the name and title and once the GUI has = > been displayed using the xml i change the title and name. Now there is=20 one=20 > form which has only labels and its not possible for me call onInit(). > It would be really helpful if you could add 2 new attributes in the view = > element namely title and name. So that when we send upadtes to the java=20 > program i just have to send the name of the view and it updates the=20 view. >=20 > Also one more request - the createDialog takes GUI4JWindow as its first=20 > argument. I want to create a dialog box which has my own java swing=20 window=20 > (not generated by gui4j) as its parent... so can you give an option of=20 using=20 > Frame as the owner of the dialog window or suggest a way of how this can = be=20 > done in the current code. >=20 > Thanks > Rahul >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads,=20 discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Gui4j-user mailing list > Gui...@li... > https://lists.sourceforge.net/lists/listinfo/gui4j-user |