You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(5) |
Jul
(15) |
Aug
(1) |
Sep
(13) |
Oct
(6) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(7) |
Jul
(15) |
Aug
(3) |
Sep
(1) |
Oct
(8) |
Nov
(2) |
Dec
|
| 2004 |
Jan
|
Feb
(5) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
| 2005 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Francois B. <fbe...@ft...> - 2005-03-10 13:29:38
|
Hi, JGB is a library - as such, it does not have a GUI. If you want to use it, you have to write an XML file which contains the definition of your GUI. See http://jgb.sourceforge.net/documentation/tutorials/simplewindow/index.php for a tutorial on how to do that. Hope that helps ! Fran=E7ois On Wed, 9 Mar 2005 20:59:15 +0200, "Kalle Hyv=F6nen" <ka...@ko...> said: > When I try to start JGB from the command line in Linux (Debian): java > -jar jgb.jar, > it just gives me an error (I have Java installed): Failed to load > Main-Class manifest attribute from > jgb.jar >=20 > I think this is because there is no Main Class defined in the manifest, > or whats wrong then? >=20 > Btw. I'm using the newest release: 0.6.5-alpha >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general |
|
From: Kalle <ka...@ko...> - 2005-03-09 18:58:59
|
When I try to start JGB from the command line in Linux (Debian): java -jar jgb.jar, it just gives me an error (I have Java installed): Failed to load Main-Class manifest attribute from jgb.jar I think this is because there is no Main Class defined in the manifest, or whats wrong then? Btw. I'm using the newest release: 0.6.5-alpha |
|
From: <fbe...@ft...> - 2005-02-24 02:14:48
|
On 2005-02-23 19:28, Tomasz Zarna wrote: > Would JGB work on mobile devices with J2ME (any version, any profil= e)? The problem you'll probably encounter is that you'll need a SAX parse= r.=20 I don't know offhand if there's one included in J2ME. Beyond that,= =20 all runtime dependencies are included in the distribution and CVS. Hope that helps, Fran=C3=A7ois |
|
From: Tomasz Z. <za...@ic...> - 2005-02-24 00:21:29
|
Hi, Would JGB work on mobile devices with J2ME (any version, any profile)? If not, do you have any other suggestion for generating GUIs from XML on mobile devives? We've been thining about some svg viewer that it would probably appear to heavy/slow... Thanks! Best regards, Tomasz |
|
From: <fbe...@ft...> - 2004-09-07 12:51:46
|
Aggelos Georgoulas wrote: > Dear Francois, > > > > Thank you very much for your help. > > > > Adding a <control id="contentPane" class="javax.swing.JDesktopPane"> > turns the window to an MDI. > > > > However adding InternalFrames within this content pane is a little problem > > > > If I add the InternalFrame GUI description (e.g. <control > id="myInternalFrame" class="javax.swing.JInternalFrame">…etc) in the > same xml document, then obviously only one internal frame is added when > the MDI application starts. > > > > Do you have any idea how we could add internalFrames dynamically (as > respond to an event)? > > > > One solution could be to describe the internalFrame GUI in a separate > xml document, but how we could then use this xml through JGB? > > Do you have any clue? See the register element description: http://jgb.sourceforge.net/documentation/elements/register/index.php This allows you to register an EventListener to any control. You could then create menu items that call your event handler, and the handler would respond by creating new JInternalFrames. Also see the Browser tutorial page: http://jgb.sourceforge.net/documentation/tutorials/webbrowser/index.php Bye ! François |
|
From: Aggelos G. <ag...@bi...> - 2004-09-06 15:43:33
|
Dear Francois, Thank you very much for your help. Adding a <control id="contentPane" class="javax.swing.JDesktopPane"> turns the window to an MDI. However adding InternalFrames within this content pane is a little problem If I add the InternalFrame GUI description (e.g. <control id="myInternalFrame" class="javax.swing.JInternalFrame">.etc) in the same xml document, then obviously only one internal frame is added when the MDI application starts. Do you have any idea how we could add internalFrames dynamically (as respond to an event)? One solution could be to describe the internalFrame GUI in a separate xml document, but how we could then use this xml through JGB? Do you have any clue? Have a nice day, Aggelos Georgoulas |
|
From: Francois B. <fb...@us...> - 2004-09-05 00:06:27
|
On Sat, 04 Sep 2004 20:04:45 -0400, "Francois Beausoleil"
<fb...@us...> said:
> The class attribute of the XX element allows you to specify what type of
^^
I'm really sorry, I meant the "control" element. See the documentation
at
http://jgb.sourceforge.net/documentation/elements/control/index.php
Have a nice day !
Fran=E7ois
Developer of Java Gui Builder=0D
http://jgb.sourceforge.net/=0D
|
|
From: Francois B. <fb...@us...> - 2004-09-05 00:04:51
|
On Thu, 2 Sep 2004 17:50:07 +0300, "Aggelos Georgoulas" <ag...@bi...> said: > I would like to ask you whether jgb supports creation of internalFrames > for > use within MDI applications. There is no built-in support, but... > If yes could you give me an example? The class attribute of the XX element allows you to specify what type of GUI element you want to create. It should be a simple matter to create the necessary objects. Hope that helps, Fran=E7ois Developer of Java Gui Builder=0D http://jgb.sourceforge.net/=0D |
|
From: Aggelos G. <ag...@bi...> - 2004-09-02 14:52:58
|
Hello, I would like to ask you whether jgb supports creation of internalFrames for use within MDI applications. If yes could you give me an example? Thank you in advance Aggelos Georgoulas Biomedical Engineering Laboratory National Technical University of Athens GREECE |
|
From: Francois B. <fb...@us...> - 2004-08-04 13:22:59
|
Hi ! On Tue, 3 Aug 2004 16:51:30 -0400, "Creech, Benjamin P." <BEN...@sa...> said: > there anything I need to look our for? For instance, one problem I've > run > into already is that SAX tries to open its own socket to look up the DTD > URL, which of course isn't allowed within an applet. I don't remember, but I believe there is an EntityResolver which attempts to find the DTD in the classpath, before attempting the socket communication. Maybe this functionnality is in CVS, and not in the latest release. If you can't find it, just write one yourself. Hope that helps, Fran=E7ois Developer of Java Gui Builder=0D http://jgb.sourceforge.net/=0D |
|
From: Creech, B. P. <BEN...@sa...> - 2004-08-03 20:50:53
|
I need to make a bunch of applets with a lot of very simple interfaces. I was thinking about making an XML->Java tool to simplify this effort, then realized that JGB already does it. Has anyone tried to use JGB within an applet? Should it work, or not? Is there anything I need to look our for? For instance, one problem I've run into already is that SAX tries to open its own socket to look up the DTD URL, which of course isn't allowed within an applet. |
|
From: Ulrich R. <ulr...@gm...> - 2004-04-05 06:46:34
|
Hi all!
I get a NullPointerException in the method getContextAccumulator (class
jgb.handlers.swing.MethodCallTagHandler). The statement
MethodCall methodCall =
(MethodCall)tagContext.get(TagHandler.CURRENT_PARM_ACC_KEY);
returns null and causes the NullPointerException a few lines later. I'm a
JGB newbie, so maybe I am doing something very obvious wrong. I am trying to
dynamically populate a JComboBox when building it up, using the JComboBox
method setModel(ComboBoxModel aModel) setter. I have a method getBookComboBoxModel
in a class info.rueth.bp.DataSetter, which returns a ComboBoxModel object
(containing the elements I want to display in my JComboBox).
This is a snippet from my xml file:
...
<!-- Construct a DataSetter class -->
<object id="dataSetter" class="info.rueth.bp.gui.DataSetter">
<constructor/>
</object>
...
<control>
...
<combo id="bookChooser" reflabel="bookChooserLabel">
<property name="model">
<return>
<methodCall refid="dataSetter"
method="getBookComboBoxModel"/>
</return>
</property>
</combo>
...
</control>
...
Any hint is appreciated!
Thanks and regards
Ulrich
--
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz
|
|
From: OvErboRed <ove...@ov...> - 2004-02-24 03:34:38
|
Hi, I'm sorry if this has been asked before, but I don't know how to search the SF mailing list archives. I am interested in making a GUI Java program using JGB. I tried the simple window tutorial (bin\runexample.bat --show mywindow.xml), but after the initial (intentional) errors were displayed/fixed, no window was displayed. I'd appreciate any help. Thanks! |
|
From: Michiel t. H. <mte...@qu...> - 2004-02-16 17:14:46
|
Hi,=20 thx for the quick reply, But when I execute: $ ant junit.install clover.install It first gives the error message: " [taskdef] Could not load definitions from resource clovertasks. It could = not=20 be found"=20 After that it says "BUILD SUCCESFULL" but any action after that again gives= =20 the same error. Regards, Michiel ten Hagen On Monday 16 February 2004 16:27, Francois Beausoleil wrote: > Hi ! > > On Mon, 16 Feb 2004 16:54:35 +0000, "Michiel ten Hagen" > > <mte...@qu...> said: > > When trying to build jgb ant allows starts with the following error: > > "[taskdef] Could not load definitions from resource clovertasks. It cou= ld > > not > > be found." > > One thing you can try is to run > $ ant junit.install clover.install > > This will install the Clover and JUnit related JARs into $ANT_HOME/lib. > Then, try building again, and things should be fine. > > Bye ! > Fran=E7ois > Developer of Java Gui Builder > http://jgb.sourceforge.net/ > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id438&op=3DClick > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general |
|
From: Francois B. <fb...@us...> - 2004-02-16 16:34:57
|
Hi ! On Mon, 16 Feb 2004 16:54:35 +0000, "Michiel ten Hagen" <mte...@qu...> said: > When trying to build jgb ant allows starts with the following error: > "[taskdef] Could not load definitions from resource clovertasks. It could > not=20 > be found." One thing you can try is to run $ ant junit.install clover.install This will install the Clover and JUnit related JARs into $ANT_HOME/lib.=20 Then, try building again, and things should be fine. Bye ! Fran=E7ois Developer of Java Gui Builder http://jgb.sourceforge.net/ |
|
From: Michiel t. H. <mte...@qu...> - 2004-02-16 15:58:26
|
Hi, os=gentoo-linux jdk=blackdown-jdk-1.4.1 junit=version 3.8.1 When trying to build jgb ant allows starts with the following error: "[taskdef] Could not load definitions from resource clovertasks. It could not be found." I've tried all build options and all give me the same error. Running ant without options gives me the following: "Buildfile: build.xml [taskdef] Could not load definitions from resource clovertasks. It could not be found. init: preprocess: make.dtd: compile: test: BUILD FAILED file:/home/michiel/java_gui_builder/build.xml:89: Could not create task or type of type: junit. Ant could not find the task or a class this task relies upon. This is common and has a number of causes; the usual solutions are to read the manual pages then download and install needed JAR files, or fix the build file: - You have misspelt 'junit'. Fix: check your spelling. - The task needs an external JAR file to execute and this is not found at the right place in the classpath. Fix: check the documentation for dependencies. Fix: declare the task. - The task is an Ant optional task and optional.jar is absent Fix: look for optional.jar in ANT_HOME/lib, download if needed - The task was not built into optional.jar as dependent libraries were not found at build time. Fix: look in the JAR to verify, then rebuild with the needed libraries, or download a release version from apache.org - The build file was written for a later version of Ant Fix: upgrade to at least the latest release version of Ant - The task is not an Ant core or optional task and needs to be declared using <taskdef>. Remember that for JAR files to be visible to Ant tasks implemented in ANT_HOME/lib, the files must be in the same directory or on the classpath Please neither file bug reports on this problem, nor email the Ant mailing lists, until all of these causes have been explored, as this is not an Ant bug. Total time: 1 second" |
|
From: florian.brunswicker <flo...@ei...> - 2004-02-09 12:34:36
|
Hello colleagues , i have some experience in java backend development but now i have to design a Java GUI. For me the main focus will be to design it (UML etc.), not to implement it. I am a little bit confused about the Thread and SwingWorker Issues. Perhaps someone of you can give me advice in how to start with this (e.g. a good book, website). I have heard about the 2 different APIs (Swing and IBM). I there a good book describing the differences ? Does anyone knows a good resources for design examples ? Thanks a lot in advance, best regards, Florian Brunswicker |
|
From: Appleton, R. <ric...@ci...> - 2003-11-03 16:42:51
|
Having built a similar utility in the past I have some comments about = this tool. In general the XML is very long winded : I prefer using attributes = rather than nested elements because for any form type GUI with a = reasonable number of fields the definition could get very, very long. The concept of a GUI builder can be taken much further. I implemented: - binding of controls to actions - formatting and parsing using logical formats - logical colour definitions - I18N support - population of combo-box lists - support for sorting tables - support for dividing GUI into separate files per business model = component To do this the build process consists of: - create business model component - register business model actions with builder - register business model and table models with builder - build GUI - post-build associate non-generic event-handlers with controls = (referenced by control id) A configuration file is used to define which tags, formats, layouts, etc = are recognized by the builder, so it is possible to add in one's own = controls and layout managers, etc. The configuration file also defines = logical formats and colours, and also combo box lookup lists (which = again can be configured to be supplied by a custom class). (Lookup = lists are associated with a combo box control via a 'lookup' attribute = on the 'combo' element). A logical format could be 'percentage' (number format with style =3D = 'percent'), 'price' (defined as pattern for decimal formatter), = 'shortdate' (date format with style =3D'short'). Binding classes are = provided by the tool to interface between a GUI control and a model's = property (for text fields performing parsing and formatting as required = by the logical format set using a 'format' attribute). Errors are = highlighted in the field using the 'error' logical colour. The point about all of this is to enable business developers to = concentrate on providing non-swing business models, not learning swing. = Things like setting default buttons on dialogs, binding buttons to model = actions, parsing and formatting values for display in a text field are = all things that such a GUI builder can do which add value over coding = swing directly. It is also much easier to change a format or colour = defined in a single configuration file! > Richard Appleton > London > Tel: 44 20 7986 4899 >=20 |
|
From: Francois B. <fb...@us...> - 2003-10-27 18:02:06
|
Got a point there ! There is no way to do any calculations in the XML file, so you would need to instantiate an object to do the work for you. Maybe you could attach a WindowListener to the frame and let it position the window on the right event ? Besides, the same event listener can be used to save and restore the window position... Hope that helps ! Fran=E7ois On Mon, 27 Oct 2003 21:14:41 +0800, "Stelar" <ste...@in...> said: > Can a JFrame be placed in the center of the screen? It can be done in > Java,=20 > using the getScreenSize() and setLocation(). But I tried to think on how > to=20 > do it in jgb and I can't.... >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general Developer of Java Gui Builder http://jgb.sourceforge.net/ |
|
From: Stelar <ste...@in...> - 2003-10-27 13:17:10
|
Can a JFrame be placed in the center of the screen? It can be done in Java, using the getScreenSize() and setLocation(). But I tried to think on how to do it in jgb and I can't.... |
|
From: Francois B. <fb...@us...> - 2003-10-23 19:28:12
|
On Thu, 23 Oct 2003 11:42:06 +0300, "Stelar" <ste...@in...> said:
> Quoting Francois Beausoleil <fb...@us...>:
>=20
[snip]
>=20
> But now, I still have a problem. Using the java code in the simple
> window
> tutorial in the website, I got the following error:
>=20
> simplewin.java:6: jgb.builder.Builder is abstract; cannot be instantiated
> private jgb.builder.Builder simplewin_gui =3D new
> jgb.builder.Builder();
>=20
[snip]
Ooops ! I need to update the examples quickly ! The Builder class is
now an interface. So, you need to instantiate a DefaultBuilder... Sorry
for the confusion...
So, your lines should be updated like this:
import jgb.builder.Builder;
import jgb.builder.DefaultBuilder;
class C {
private Builder simplewin_gui =3D new DefaultBuilder();
}
Bye !
Fran=E7ois
Developer of Java Gui Builder
http://jgb.sourceforge.net/
|
|
From: Stelar <ste...@in...> - 2003-10-23 15:15:35
|
Quoting Francois Beausoleil <fb...@us...>:
> Hello again, Stelar,
>
> Did you use the same command line ? Actually, did you pass the --show
> argument to the BuildWindowFromXmlFile class ? Notice the example
> command line:
> C:\jgb>bin\runexample.bat --show mywindow.xml
>
> The --show parameter asks the BuildWindowFromXmlFile to show the window
> on screen. It actually calls setVisible() on the value that will be
> returned from Builder.
>
> Hope that helps !
> Frans
omg! I'm so careless to forget about that. Sorry...
But now, I still have a problem. Using the java code in the simple window
tutorial in the website, I got the following error:
simplewin.java:6: jgb.builder.Builder is abstract; cannot be instantiated
private jgb.builder.Builder simplewin_gui = new jgb.builder.Builder();
This is the line I use to compile:
javac -classpath jgb.jar:lib/jaxp.jar:. simplewin.java
Forgive me if I'm wrong, since I'm a java newbie...
___________________________________
FLASH GAMES - http://games.inbox.lv
|
|
From: Francois B. <fb...@us...> - 2003-10-22 20:44:37
|
Hello again, Stelar, Did you use the same command line ? Actually, did you pass the --show argument to the BuildWindowFromXmlFile class ? Notice the example command line: C:\jgb>bin\runexample.bat --show mywindow.xml The --show parameter asks the BuildWindowFromXmlFile to show the window on screen. It actually calls setVisible() on the value that will be returned from Builder. Hope that helps ! Fran=E7ois On Wed, 22 Oct 2003 22:23:51 +0800, "Stelar" <ste...@in...> said: > On Wednesday 22 October 2003 02:04 am, Francois Beausoleil wrote: > > 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. > > Then, later, the windows can be shown as appropriate, by the event > > dispatchers. > > > > Hope that helps ! > > Fran=E7ois >=20 > Ahh... I understand... I'm actually newbie to java, so I'm not that > familiar=20 > with it. But the tutorial in the website is a little misleading, because > for=20 > the "Simple Window Tutorial", in the "Warrior's Luck" section, there's no= =20 > setVisible methodCall, but the paragraph says that "You have a window > that=20 > pops up on your screen". You might want to update that :) >=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/ |
|
From: Stelar <ste...@in...> - 2003-10-22 14:59:42
|
On Wednesday 22 October 2003 02:04 am, Francois Beausoleil wrote: > 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. > Then, later, the windows can be shown as appropriate, by the event > dispatchers. > > Hope that helps ! > Fran=E7ois Ahh... I understand... I'm actually newbie to java, so I'm not that familia= r=20 with it. But the tutorial in the website is a little misleading, because f= or=20 the "Simple Window Tutorial", in the "Warrior's Luck" section, there's no=20 setVisible methodCall, but the paragraph says that "You have a window that= =20 pops up on your screen". You might want to update that :) |
|
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/ |