You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(5) |
Sep
(5) |
Oct
(6) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(11) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
(5) |
Nov
(2) |
Dec
|
2009 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
(31) |
May
(66) |
Jun
(62) |
Jul
(45) |
Aug
(52) |
Sep
(22) |
Oct
(2) |
Nov
(1) |
Dec
|
2011 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Timo M. <me...@gm...> - 2006-01-19 20:14:50
|
Hi Kay, thank you for your response. Today I made enormous progress with the gui4j framework. Indeed, the missing line in the gui4jComponents.properties was the reason why my program didn't start. I successfully tried the simpleInternalFrame, too, but it isn't the right component behaviour I am looking for. I intended to create a MDI application, but I see it isn't possible with gui4j. Is there another 'best practice'? Is it possible to set the visibility for some components? I want to have something like a 'main menu' (perhaps a vertical toolbar at the left side with icon-buttons), but without having popups. Is it possible to have a region that can load other gui4j-components dynamically? Thank you Timo me...@gm... |
From: <ka...@we...> - 2006-01-19 19:51:42
|
Hi Timo, you have to have an entry in your gui4Components.properties that maps a factory class to the "simpleInternalFrame" element. The standard file contains this line: simpleInternalFrame = org.gui4j.component.factory.Gui4jSimpleInternalFrameFactory If you're planning to build an MDI application, note that a simpleInternalFrame is not a wrapper around JInternalFrame. gui4j does not support real internal frames. A simple internal frame is a normal Swing component that just happens to look a little bit like a frame with its use of a title bar. The Swing code underneath is a slightly modified version of the SimpleInternalFrame found in JGoodies. Kay Timo Meinen wrote: >Hi Gui4j devs and users, > >I am going to integrate gui4j in an MDA application, which generates Swing >applications out of UML-diagrams. > >I wanted to use JInternalFrames, to get an MDI application. With gui4j I >tried to build a gui with the simpleInternalFrame-components, but I am not >successful. > >How do I use simpleInternalFrames? > >I get this error: > >Programming error:No Component for name simpleInternalFrame registered > >Here is the determinig part out of the XML file: > ><borderLayout guiId="TOP"> > <placeBl anchor="center"> > <simpleInternalFrame title="InFrame"> > <label guiId="empty" text="'Empty label'"/> > </simpleInternalFrame> > </placeBl> > </borderLayout> > >Thank you very much >Timo Meinen > >-- >Mail: me...@gm... >ICQ: 10201138 > > > |
From: <ka...@we...> - 2006-01-19 19:37:51
|
Hi Christophe, I assume you're referring to the documentation of subcomponent "node" of component "tree". And I have to say you're right, the documentation is wrong about the return type. A List is required, a Collection is not sufficient. The reason for this is that the tree needs to know in what order to display the children of a node. The return type info in the documentation is now fixed in CVS. It might take me a little while to update the reference on gui4.org, though. Thanks for the hint. Kay Christophe JALADY wrote: >Hello, > >On documentation page, >http://www.gui4j.net/gui4jdocs/index.html >a mistake seem's occur: > >"children" optional attribute is specified as >"return type: java.util.Collection" > >But in commentary, it's explained that the type must be >"java.util.List". > >Who's wrong ?? >(according to my test, I suppose that the type required is "List", but >why collection isn't sufficient ?) > > >Thank's to Gui4J Team for his work on this project. > >Christophe JALADY. > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Gui4j-user mailing list >Gui...@li... >https://lists.sourceforge.net/lists/listinfo/gui4j-user > > |
From: Christophe J. <chr...@fr...> - 2006-01-16 21:33:13
|
Hello, On documentation page, http://www.gui4j.net/gui4jdocs/index.html a mistake seem's occur: "children" optional attribute is specified as "return type: java.util.Collection" But in commentary, it's explained that the type must be "java.util.List". Who's wrong ?? (according to my test, I suppose that the type required is "List", but why collection isn't sufficient ?) Thank's to Gui4J Team for his work on this project. Christophe JALADY. |
From: Timo M. <me...@gm...> - 2006-01-16 17:14:36
|
Hi Gui4j devs and users, I am going to integrate gui4j in an MDA application, which generates Swing applications out of UML-diagrams. I wanted to use JInternalFrames, to get an MDI application. With gui4j I tried to build a gui with the simpleInternalFrame-components, but I am not successful. How do I use simpleInternalFrames? I get this error: Programming error:No Component for name simpleInternalFrame registered Here is the determinig part out of the XML file: <borderLayout guiId="TOP"> <placeBl anchor="center"> <simpleInternalFrame title="InFrame"> <label guiId="empty" text="'Empty label'"/> </simpleInternalFrame> </placeBl> </borderLayout> Thank you very much Timo Meinen -- Mail: me...@gm... ICQ: 10201138 -- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse für Mail, Message, More +++ |
From: Kay <Kay...@be...> - 2005-10-27 10:54:08
|
Hi Jeff, we're not compatible to Maven 2.x. At the time of creating our maven project structure, Maven 2.0 was still considered beta so we took the stable 1.0.2 version. http://maven.apache.org/guides/mini/guide-m1-m2.html shows the differences between the project structure of Maven 2.x and 1.x. There are no plans to migrate our structure to Maven 2.x since we don't need any of the new features. I'll update the README to reflect the requirement of Maven 1.0.2. Thanks for pointing this out, Kay Jeffrey Graham <jg...@sk...> Sent by: gui...@li... 26.10.2005 14:12 Please respond to jg...@sk... To gui...@li... cc Subject [Gui4j-user] problems building Hello, I am new to Gui4J. Downloaded the CVS version of Gui4J and the documentation as well. Installed Maven 2.0 and tested using "mvn --version" as suggested. All seems well. My platform is: gentoo linux, i386 My java environment is: JAVA_HOME=/opt/blackdown-jdk-1.4.2.02 JAVAC=/opt/blackdown-jdk-1.4.2.02/bin/javac I have the dependecies: dom4j 1.6.1 commons-logging 1.04-r1 When I attempt "maven site" I get this error.... [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Default Project [INFO] task-segment: [site] [INFO] ---------------------------------------------------------------------------- [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ---------------------------------------------------------------------------- [INFO] Cannot execute mojo: site. It requires a project, but the build is not using one. [INFO] ---------------------------------------------------------------------------- [INFO] For more information, run Maven with the -e switch [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 1 second [INFO] Finished at: Wed Oct 26 12:05:58 UTC 2005 [INFO] Final Memory: 3M/6M [INFO] ---------------------------------------------------------------------------- If I try "maven -e site" I get this error (same as above, but with more info)... + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven Default Project [INFO] task-segment: [site] [INFO] ---------------------------------------------------------------------------- [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ---------------------------------------------------------------------------- [INFO] Cannot execute mojo: site. It requires a project, but the build is not using one. [INFO] ---------------------------------------------------------------------------- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute mojo: site. It requires a project, but the build is not using one. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:544) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot execute mojo: site. It requires a project, but the build is not using one. at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:326) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519) ... 16 more [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 1 second [INFO] Finished at: Wed Oct 26 12:07:07 UTC 2005 [INFO] Final Memory: 3M/6M [INFO] ---------------------------------------------------------------------------- When I attempt "maven dist" I get this error.... [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD FAILURE [INFO] ---------------------------------------------------------------------------- [INFO] Invalid task 'dist': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal [INFO] ---------------------------------------------------------------------------- [INFO] For more information, run Maven with the -e switch [INFO] ---------------------------------------------------------------------------- [INFO] Total time: < 1 second [INFO] Finished at: Wed Oct 26 12:05:07 UTC 2005 [INFO] Final Memory: 1M/2M [INFO] ---------------------------------------------------------------------------- Your help is appreciated. Thanks, Jeff ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Gui4j-user mailing list Gui...@li... https://lists.sourceforge.net/lists/listinfo/gui4j-user |
From: Jeffrey G. <jg...@sk...> - 2005-10-26 17:13:24
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hello,<br> <br> I am new to Gui4J.<br> Downloaded the CVS version of Gui4J and the documentation as well.<br> <br> Installed Maven 2.0 and tested using "mvn --version" as suggested. All seems well.<br> <br> My platform is: gentoo linux, i386<br> My java environment is:<br> <blockquote>JAVA_HOME=/opt/blackdown-jdk-1.4.2.02<br> JAVAC=/opt/blackdown-jdk-1.4.2.02/bin/javac<br> </blockquote> <br> I have the dependecies:<br> dom4j 1.6.1<br> commons-logging 1.04-r1<br> <br> <br> <br> When I attempt "maven site" I get this error....<br> <br> <blockquote><font color="#cc0000"><small>[INFO] Scanning for projects...</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] Building Maven Default Project</small><br> <small>[INFO] task-segment: [site]</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[ERROR] BUILD ERROR</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] Cannot execute mojo: site. It requires a project, but the build is not using one.</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] For more information, run Maven with the -e switch</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] Total time: 1 second</small><br> <small>[INFO] Finished at: Wed Oct 26 12:05:58 UTC 2005</small><br> <small>[INFO] Final Memory: 3M/6M</small><br> <small>[INFO] ----------------------------------------------------------------------------</small></font><br> </blockquote> <br> <br> <br> If I try "maven -e site" I get this error (same as above, but with more info)...<br> <br> <blockquote><font color="#cc0000"><small>+ Error stacktraces are turned on.</small><br> <small>[INFO] Scanning for projects...</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] Building Maven Default Project</small><br> <small>[INFO] task-segment: [site]</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[ERROR] BUILD ERROR</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] Cannot execute mojo: site. It requires a project, but the build is not using one.</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] Trace</small><br> <small>org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute mojo: site. It requires a project, but the build is not using one.</small><br> <small> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:544)</small><br> <small> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)</small><br> <small> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)</small><br> <small> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)</small><br> <small> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)</small><br> <small> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)</small><br> <small> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)</small><br> <small> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)</small><br> <small> at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)</small><br> <small> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</small><br> <small> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</small><br> <small> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</small><br> <small> at java.lang.reflect.Method.invoke(Method.java:324)</small><br> <small> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)</small><br> <small> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)</small><br> <small> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)</small><br> <small> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)</small><br> <small>Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot execute mojo: site. It requires a project, but the build is not using one.</small><br> <small> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:326)</small><br> <small> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)</small><br> <small> ... 16 more</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] Total time: 1 second</small><br> <small>[INFO] Finished at: Wed Oct 26 12:07:07 UTC 2005</small><br> <small>[INFO] Final Memory: 3M/6M</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> </font><br> </blockquote> <br> <br> When I attempt "maven dist" I get this error....<br> <br> <blockquote><font color="#cc0000"><small>[INFO] Scanning for projects...</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[ERROR] BUILD FAILURE</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] Invalid task 'dist': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] For more information, run Maven with the -e switch</small><br> <small>[INFO] ----------------------------------------------------------------------------</small><br> <small>[INFO] Total time: < 1 second</small><br> <small>[INFO] Finished at: Wed Oct 26 12:05:07 UTC 2005</small><br> <small>[INFO] Final Memory: 1M/2M</small><br> <small>[INFO] ----------------------------------------------------------------------------</small></font><br> </blockquote> <br> <br> Your help is appreciated. Thanks,<br> Jeff<br> <br> </body> </html> |
From: Kay <Kay...@be...> - 2005-10-26 07:54:21
|
Hi Rahul, the changes didn't make it into the latest release (1.2.2) but they are in = CVS now. Regards, Kay "Rahul Shrivastava" <shri=5F...@ho...> wrote on 25.10.2005 23:48:54: > Hi Kay >=20 > Yes these are the things i wanted >=20 > Thanks > Rahul >=20 >=20 > ----Original Message Follows---- > From: KayKr=FCger-Barvels <Kay...@be...> > To: gui...@li... > Subject: Re: [Gui4j-user] new feature request > Date: Mon, 24 Oct 2005 15:30:47 +0200 >=20 > Hi >=20 > we have discussed your requests. We will develop >=20 > 1) two new (optional) attributes for <View>: "title" and "name" that > would define the initial title and Swing name, respectively, of the > window. > 2) two additional variations of Gui4j.createDialog(), one taking a > java.awt.Frame as its first ("parent") argument and one taking a > java.awt.Dialog. >=20 > Is that what you wanted? >=20 > Regards, > Kay Kr=FCger-Barvels >=20 > ---------------------------------------------------------------- > 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 > ---------------------------------------------------------------- >=20 > gui...@li... wrote on 21.10.2005 04:36:46: >=20 > > Hi > > > > Hi i have started using gui4j for my project, but needed some new > features. > > This is my situation - i send messages to my java code as input=20 stream. > This > > consists of the xml message which pops up the GUI. This works fine.=20 Now > what > > i want is to update this popped up GUI. All this has to be dynamic. I > have > > been going thru the various examples but everywhere you set the title = of > the > > view in the java program. Is there any way to set the title of a view > (eg. a > > view that has just one label) from the xml i.e. i do not want to > > programatically specify the title of the view but let the xml decide > what it > > will be. I also want to specify the name of the window in the xml > code... > > so that i can use gui4jView.getWindow().setName(nameofwindow) where > > nameofwindow is again passed by xml. Currently the way i am doing is > that in > > onInit() of any component i pass the name and title and once the GUI=20 has >=20 > > been displayed using the xml i change the title and name. Now there=20 is > one > > 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=20 view >=20 > > element namely title and name. So that when we send upadtes to the=20 java > > program i just have to send the name of the view and it updates the > view. > > > > Also one more request - the createDialog takes GUI4JWindow as its=20 first > > argument. I want to create a dialog box which has my own java swing > window > > (not generated by gui4j) as its parent... so can you give an option=20 of > using > > Frame as the owner of the dialog window or suggest a way of how this=20 can > be > > done in the current code. > > > > Thanks > > Rahul > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, > 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 >=20 >=20 |
From: Kay <Kay...@be...> - 2005-10-24 13:54:42
|
Hi all, we have a little problem updating the webspace of gui4j.org to 1.2.2. We hope to have the current documentation online until tomorrow... Thanks, Kay |
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 |
From: Rahul S. <shr...@ho...> - 2005-10-21 02:36:48
|
Hi Hi i have started using gui4j for my project, but needed some new features. This is my situation - i send messages to my java code as input stream. This consists of the xml message which pops up the GUI. This works fine. Now what i want is to update this popped up GUI. All this has to be dynamic. I have been going thru the various examples but everywhere you set the title of the view in the java program. Is there any way to set the title of a view (eg. a view that has just one label) from the xml i.e. i do not want to programatically specify the title of the view but let the xml decide what it will be. I also want to specify the name of the window in the xml code... so that i can use gui4jView.getWindow().setName(nameofwindow) where nameofwindow is again passed by xml. Currently the way i am doing is that in 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 one 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 program i just have to send the name of the view and it updates the view. Also one more request - the createDialog takes GUI4JWindow as its first argument. I want to create a dialog box which has my own java swing window (not generated by gui4j) as its parent... so can you give an option of using Frame as the owner of the dialog window or suggest a way of how this can be done in the current code. Thanks Rahul |
From: Kay <Kay...@be...> - 2005-09-26 16:09:57
|
Hi Rahul, check out the latest gui4j from CVS. There's an interface=20 Gui4jResourceProvider with a single method: InputStream getResource(String fullyQualifiedName); All XML files are loaded via this method. There's a default implementation = that uses files. If you want to read the resources in a different way=20 you'll have to write your own implementation and provide Gui4j with an=20 instance of it via Gui4j.setResourceProvider(). The String argument of getResource() is the fully qualified name of the=20 required resource. Resource names use "/" as their separator, i.e. if you=20 loaded a resource "foo" which uses an include with url=3D"bar" then the=20 resource provide will be asked to load "foo/bar". Note that resources are cached, i.e. the resource provider is never asked=20 twice for the same resource. Also note that Gui4j itself resolves ".."=20 notation, i.e. if you loaded a resource "foo/bar" which uses an include=20 with url=3D"../hello" then the resource provider is asked to load=20 "foo/hello". Keep us posted on your progress with your resource provider. Kind 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 ---------------------------------------------------------------- ----- Forwarded by Kay Kr=FCger-Barvels/BEAP on 26.09.2005 17:11 ----- Kay Kr=FCger-Barvels/BEAP=20 23.09.2005 16:05 To "Rahul Shrivastava" <shri=5F...@ho...>@BEAP=5FWEB cc Subject [Gui4j-user] how to read xml from an InputStream Hi Rahul, I'm afraid we won't be able to supply the switch to Gui4jResourceProvider=20 before next week. Time constraints on customer projects. Sorry. Kay=20 ----- Forwarded by Kay Kr=FCger-Barvels/BEAP on 23.09.2005 16:03 ----- Kay Kr=FCger-Barvels/BEAP 22.09.2005 13:16 To "Rahul Shrivastava" <shri=5F...@ho...>@BEAP=5FWEB cc Subject Re: [Gui4j-user] how to read xml from an InputStream Hi Rahul, the Gui4jResourceProvider will have to implement a method that provides=20 the xml as an InputStream. At least that's what I agreed on with Joachim.=20 I'm not up to date right now with how far his code changes are, but I will = talk to him tomorrow. The gui4j default implementation of Gui4jRexourceProvider will only be=20 able to read from files. Other implementations (like yours) will have to=20 cover other situations. I'll keep you informed about the progress on this topic. Thanks, Kay=20 ---------------------------------------------------------------- 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 ---------------------------------------------------------------- "Rahul Shrivastava" <shri=5F...@ho...> wrote on 21.09.2005 02:27:06: > Hi Kay >=20 > Even i tried to change the source code but too many files required=20 changing=20 > and had to give up on that idea. Currently i am not using the import=20 > functionality but i will be using it in the future. The purpose of=20 using=20 > GUI4J was - messages are sent to me over the socket from a c/c++ program = and=20 > these messages are xml. The java program uses these messages to display=20 > dialog boxes and other small GUI frames. >=20 > So let me reiterate what u said in you mail - just to be clear. So you=20 > create an interface Gui4jResourceProvider which I can implement in any=20 way i=20 > want and provide you with the resource object. You take this object and=20 load=20 > the xml from it. So what i would want to know is that if you read from=20 the=20 > class that implements Gui4jResourceProvider - how do you read from it,=20 is it=20 > a StringBuffer that you read from or is it an InputStream that you read=20 from=20 > or it is something else. I do not want to convert the InputStream into a = > file resource from which you can already read. >=20 > Thanks > Rahul >=20 >=20 >=20 >=20 >=20 > ----Original Message Follows---- > From: KayKr=FCger-Barvels <Kay...@be...> > To: gui...@li... > Subject: Re: [Gui4j-user] how to read xml from an InputStream > Date: Fri, 16 Sep 2005 16:56:19 +0200 >=20 > Hi again, >=20 > I'm afraid it turns out that we have to change a little bit more > internally in order to encapsulate the mechanics of loading XML files in > one central place. We'll have to postpone that to next week. >=20 > Rahu, do you plan to use (or are you using) the include functionality of > gui4j (<Include> element)? If so, how would you like to handle those > includes if your original file was loaded in a custom manner and passed=20 to > gui4j via an InputStream? Our current idea is that there's a new=20 interface > named Gui4jResourceProvider and if you provide gui4j with an object of > that type it will be responsible for loading all XML input, also for > includes. That means, it is up to your implementation to interpret the > "url" attribute of <Include>. The content of "url" does not necessarily > need to be a real URL anymore, of course. >=20 > Regards, > Kay >=20 > > > > Hi, > > > > Reading in the xml is currently done via Java's Ressource mechanism, > > so it's not possible right now to simply read from a String or > InputStream. > > > > I've talked to Joachim about this and we think it would be a useful > > addition to be able to chose one of several ways to read in the xml > > definition. We'll provide a central hook in the code for loading xml > > definitions so that it's possible to provide different > > implementations. The default way will be the current Resource > > mechanism. After the hook is in place it should be easy for you to > > implement any loading > > mechanism you like. We'll be happy to include your contribution into > > gui4j then. > > > > We'll send a note when the hook is in CVS... > > > > Thanks, > > > > Kay > > > > >=20 >=20 |
From: Kay <Kay...@be...> - 2005-09-16 14:56:04
|
Hi again, I'm afraid it turns out that we have to change a little bit more internally in order to encapsulate the mechanics of loading XML files in one central place. We'll have to postpone that to next week. Rahu, do you plan to use (or are you using) the include functionality of gui4j (<Include> element)? If so, how would you like to handle those includes if your original file was loaded in a custom manner and passed to gui4j via an InputStream? Our current idea is that there's a new interface named Gui4jResourceProvider and if you provide gui4j with an object of that type it will be responsible for loading all XML input, also for includes. That means, it is up to your implementation to interpret the "url" attribute of <Include>. The content of "url" does not necessarily need to be a real URL anymore, of course. Regards, Kay > > Hi, > > Reading in the xml is currently done via Java's Ressource mechanism, > so it's not possible right now to simply read from a String or InputStream. > > I've talked to Joachim about this and we think it would be a useful > addition to be able to chose one of several ways to read in the xml > definition. We'll provide a central hook in the code for loading xml > definitions so that it's possible to provide different > implementations. The default way will be the current Resource > mechanism. After the hook is in place it should be easy for you to > implement any loading > mechanism you like. We'll be happy to include your contribution into > gui4j then. > > We'll send a note when the hook is in CVS... > > Thanks, > > Kay > > |
From: Kay <Kay...@be...> - 2005-09-16 07:33:00
|
Hi, Reading in the xml is currently done via Java's Ressource mechanism, so it's not possible right now to simply read from a String or InputStream. I've talked to Joachim about this and we think it would be a useful addition to be able to chose one of several ways to read in the xml definition. We'll provide a central hook in the code for loading xml definitions so that it's possible to provide different implementations. The default way will be the current Resource mechanism. After the hook is in place it should be easy for you to implement any loading mechanism you like. We'll be happy to include your contribution into gui4j then. We'll send a note when the hook is in CVS... Thanks, Kay "Rahul Shrivastava" <shr...@ho...> Sent by: gui...@li... 13.09.2005 00:23 To gui...@li... cc Subject [Gui4j-user] how to read xml from an InputStream Hi I have recetly started using GUI4J and this is the prolem i am facing. I wanted to render the GUI depending on the messages that are being passed through a socket. I was browsing through the API and currently there is no mechanism where the xml can be read from a String (or more generally as a stream). The source xml is always being treated as a file. Is it possible to provide a way (i.e. if it does not exist - and if it does please can you provide an example) by which the xml is read as a string(or InputStream) rather than as a name of the resource? Thanks Rahul ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Gui4j-user mailing list Gui...@li... https://lists.sourceforge.net/lists/listinfo/gui4j-user |
From: Rahul S. <shr...@ho...> - 2005-09-12 22:25:25
|
Hi I have recetly started using GUI4J and this is the prolem i am facing. I wanted to render the GUI depending on the messages that are being passed through a socket. I was browsing through the API and currently there is no mechanism where the xml can be read from a String (or more generally as a stream). The source xml is always being treated as a file. Is it possible to provide a way (i.e. if it does not exist - and if it does please can you provide an example) by which the xml is read as a string(or InputStream) rather than as a name of the resource? Thanks Rahul |
From: Kay <Kay...@be...> - 2005-09-05 14:02:10
|
Hi all, gui4 1.2.1 has just been released. The documentation on gui4j.org is updated as I write these lines. The release has only minor changes, but if you work with comboBox components you might be interested in its new "manualActionOnly" attribute. Regards, Kay |
From: Kay <Kay...@be...> - 2005-08-30 18:22:13
|
Hi Jan, I have overhauled the Beleg-Example and renamed it "Expenses". You can get it from the Gui4jDocumentation module in CVS on sourceforge. All examples are now in subpackages of org.gui4j.examples. I have not yet adapted the documentation creation mechanism so the www.gui4j.org website still has the old examples. I'm going to do that tomorrow. The expenses example now shows -- how to layout a typical table/button scenario -- how to use a toolbar -- how to use a context menu in a table -- how to build a modal dialogbox for editing a record -- a possible approach to form validation (open the edit dialog, clear the id field and click Ok) -- how to implement inserts, deletes and edits in a table -- how to use Gui4jEvents to update the gui when the backend model changed -- how to setup a utility program ("CheckXML") that checks if all gui4j xml files are valid (method calls, etc.) Note that this example does not address any non-GUI problems like persistence, realistic domain validation, etc. Please let me know if this example helped to clarify some points. We're happy about any feedback... Kay gui...@li... wrote on 19.08.2005 16:02:17: > Hello, > > I've startet to evaluate gui4j, and I'm missing the point how Object > Manipulation can be implemented. > Could you please provide me with some additional fragments to extend > the "Beleg-Verwaltung" example? > > Possible Manipulations would be: > > - adding new items > - manipulating and saving existing items > - deleting items > - validating user input > > Thanks in advance > > Jan > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gui4j-user mailing list > Gui...@li... > https://lists.sourceforge.net/lists/listinfo/gui4j-user |
From: Jan G. <jan...@go...> - 2005-08-19 14:02:59
|
Hello, I've startet to evaluate gui4j, and I'm missing the point how Object Manipulation can be implemented. Could you please provide me with some additional fragments to extend the "Beleg-Verwaltung" example? Possible Manipulations would be:=20 - adding new items - manipulating and saving existing items - deleting items - validating user input Thanks in advance Jan |
From: Kay <Kay...@be...> - 2005-08-08 08:08:08
|
Hi all, last Friday gui4j 1.2 was released. See http://www.gui4j.org/changes-report.html for a list of changes. Kay |
From: Kay <Kay...@be...> - 2005-08-02 15:00:03
|
Hi, The starting point for displaying a gui with gui4j is always a call to either Gui4j.createView() (for JFrames) or Gui4j.createDialog() (for JDialogs). JApplets are not supported. I'm not an expert in applets. Is it specified how an applet container (e.g. a browser) instantiates an applet? I would suspect that it calls the default constructor for the desired JApplet-Subclass and then calls the lifecycle methods init(), start(), etc. So to use gui4j we would need to provide a Gui4jApplet base class that clients could subclass just to override some methods that define the xml resource to use etc. The base class would be responsible to render its contents according to the xml definition meaning the applet would have to load the whole gui4j framework. In principle this could work, but if the applet is used remotely (as they usually are) that might be too much overhead. Does that make sense? Any other thoughts about this? Kay > I"m a little new to java, so please forgive any obvious glaring errors. > I haven"t been able to garner from any documentation the answer thus > far, and was wondering if anyone would be > able to point me to possibly some example code, or documentation > regarding the subject. Is it > possible to use gui4j to generate interfaces inside an applet, not just > free windows? > > Regards, > Mike "Fuzzy" Partin |
From: Kay <Kay...@be...> - 2005-08-02 14:38:29
|
Hi, the next version of gui4j (1.2) will definitely contain the component <toolbar>. Check out the current beta in CVS. Kay > I didn"t find a tag for toolbars. Is it planned to include such a tag for > the next realease of the library? |
From: Mike P. <dj...@sb...> - 2005-07-28 17:52:34
|
I'm a little new to java, so please forgive any obvious glaring errors. I haven't been able to garner from any documentation the answer thus far, and was wondering if anyone would be able to point me to possibly some example code, or documentation regarding the subject. Is it possible to use gui4j to generate interfaces inside an applet, not just free windows? Regards, Mike "Fuzzy" Partin |
From: Luis V. <lan...@ho...> - 2005-07-08 00:57:16
|
I didn't find a tag for toolbars. Is it planned to include such a tag for the next realease of the library? Regards. _________________________________________________________________ Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/ |