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: Stelar <ste...@in...> - 2003-10-21 16:08:25
|
Hi,
I can't run the following xml file as defined in the tutorial:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE window PUBLIC "-//SOURCEFORGE/Java Gui Builder DTD version 1.0//EN"
"http://jgb.sourceforge.net/dtd/jgb.dtd">
<window id="loginDialog" type="jdialog">
</window>
This will produce no error, but no window pop up. However, the provided
simplewindow.xml in the 0.6.5a tarball works. Seems that when I just leave
<window> and </window> tags only, it won't work anymore....
|
|
From: <dav...@ya...> - 2003-09-20 17:04:36
|
confirm 679723 --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail |
|
From: Brent C. <br...@bo...> - 2003-08-02 21:15:29
|
Hi Francois I am using the default XSLT engine in J2SE 1.4.2, which is xalan-j 2.4.1, with some bug fixes apparently. The ones in the 0.6.5a src archive have the encoding on the example xml scipts but not in the top of the xsl in files. Not sure but I suspect that my locale (New Zealand) may have something to do with it, as I think the locale controls the encoding used. I am still playing with it to find its capabilities, but so far looks excellent. So far I have examined the XSLT (and like what you have done), but haven't yet examined how the java interpreted version works. If we do end up using it I would have a look at implementing the JTree. Regards Brent jgb...@li... wrote: >Send jgb-general mailing list submissions to > jgb...@li... > >To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/jgb-general >or, via email, send a message with subject or body 'help' to > jgb...@li... > >You can reach the person managing the list at > jgb...@li... > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of jgb-general digest..." > > >Today's Topics: > > 1. Re: Problem with XSLT translation (Francois Beausoleil) > >--__--__-- > >Message: 1 >From: "Francois Beausoleil" <fb...@us...> >To: jgb...@li... >Date: Fri, 01 Aug 2003 01:45:45 -0400 >Subject: Re: [JGB-general] Problem with XSLT translation >Reply-To: jgb...@li... > >Hello Brent, > >Thank you for the kind words. What XSLT engine are you using ? I have >not had problems here with the files. > >But, don't the files have the encoding specified on the first line, and >then have the copyright notice ? > >Anyway, there are no firm plans for JTree yet. JTables and friends are >of a higher priority. Once that is implemented, JTree can be >implemented. > >If you have the skill required to do so, though, you could implement it >yourself. It is just a simple matter, following another file as an >example. > >Have a nice day ! >Fran=E7ois > > >On Fri, 01 Aug 2003 14:52:30 +0200, "Brent Crammond" ><br...@bo...> said: > > >>I was just have a play around with JGB, my first impression is that it=20 >>looks good. >>=20 >>I did have one problem though. XSLT crashs when I try to translate your= >> >> >=20 > > >>examples. I determined that the XSL files copyright notice caused the=20 >>crash, as you have not specified an encoding in the header of these=20 >>files and your first name has a special character, by default my xslt=20 >>processor seems to use UTF-8 encoding which does not seem to understand= >> >> >=20 > > >>this character. I fixed it in my tests by removing the character but I= >> >> >=20 > > >>think that setting an encoding would be a better long term option. >>=20 >>Keep up the good work. >>=20 >>PS have you any intensions to add JTrees to the format? >>=20 >>--=20 >>Brent Crammond >>=20=09 >>=20 >>=20 >>=20 >>=20 >>------------------------------------------------------- >>This SF.Net email sponsored by: Free pre-built ASP.NET sites including >>Data Reports, E-commerce, Portals, and Forums are available now. >>Download today and enter to win an XBOX or Visual Studio .NET. >>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/= >> >> >01 > > >>_______________________________________________ >>jgb-general mailing list >>jgb...@li... >>https://lists.sourceforge.net/lists/listinfo/jgb-general >>=20 >> >> >Developer of Java Gui Builder >http://jgb.sourceforge.net/ > > > >--__--__-- > >_______________________________________________ >jgb-general mailing list >jgb...@li... >https://lists.sourceforge.net/lists/listinfo/jgb-general > > >End of jgb-general Digest > > > -- Brent Crammond |
|
From: Francois B. <fb...@us...> - 2003-08-01 05:45:53
|
Hello Brent, Thank you for the kind words. What XSLT engine are you using ? I have not had problems here with the files. But, don't the files have the encoding specified on the first line, and then have the copyright notice ? Anyway, there are no firm plans for JTree yet. JTables and friends are of a higher priority. Once that is implemented, JTree can be implemented. If you have the skill required to do so, though, you could implement it yourself. It is just a simple matter, following another file as an example. Have a nice day ! Fran=E7ois On Fri, 01 Aug 2003 14:52:30 +0200, "Brent Crammond" <br...@bo...> said: > I was just have a play around with JGB, my first impression is that it=20 > looks good. >=20 > I did have one problem though. XSLT crashs when I try to translate your= =20 > examples. I determined that the XSL files copyright notice caused the=20 > crash, as you have not specified an encoding in the header of these=20 > files and your first name has a special character, by default my xslt=20 > processor seems to use UTF-8 encoding which does not seem to understand= =20 > this character. I fixed it in my tests by removing the character but I= =20 > think that setting an encoding would be a better long term option. >=20 > Keep up the good work. >=20 > PS have you any intensions to add JTrees to the format? >=20 > --=20 > Brent Crammond >=20=09 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/= 01 > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general >=20 Developer of Java Gui Builder http://jgb.sourceforge.net/ |
|
From: Brent C. <br...@bo...> - 2003-08-01 02:53:59
|
I was just have a play around with JGB, my first impression is that it looks good. I did have one problem though. XSLT crashs when I try to translate your examples. I determined that the XSL files copyright notice caused the crash, as you have not specified an encoding in the header of these files and your first name has a special character, by default my xslt processor seems to use UTF-8 encoding which does not seem to understand this character. I fixed it in my tests by removing the character but I think that setting an encoding would be a better long term option. Keep up the good work. PS have you any intensions to add JTrees to the format? -- Brent Crammond |
|
From: Francois B. <fb...@us...> - 2003-07-15 17:19:51
|
Hello Ramon, What folder were you in when you built the docs ? In /home/jansky/ramonw/jgb_cvs/jgb/ ? It looks like the $outputFolder property was not properly passed to the JGB build file. This parameter specifies in which folder to output data. Hope that helps, Fran=E7ois On Tue, 15 Jul 2003 11:24:13 -0500, "Ramon Williamson" <ra...@nc...> said: > Hello. >=20 > I was trying to build the CVS version of JGB, and ran across this error= =20 > when building the make.elemdocs section: >=20 >=20 > [xslt]=20 > home/jansky/ramonw/jgb_cvs/jgb/src/xdocs/template/elemdocs.xsl:37:80:=20 > Fatal Error! /window/index.xml (No such file or directory) Cause:=20 > java.io.FileNotFoundException: /window/index.xml (No such file or > directory) > [xslt]=20 > home/jansky/ramonw/jgb_cvs/jgb/src/xdocs/template/elemdocs.xsl:0:0:=20 > Fatal Error! Fatal error during transformation Cause: Fatal error during= =20 > transformation > [xslt] Failed to process=20 > /home/jansky/ramonw/jgb_cvs/jgb/tmp/preprocess/jgb.xml >=20 >=20 > Not having any luck figuring out what this means :( >=20 > Ramon >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general >=20 Developer of Java Gui Builder http://jgb.sourceforge.net/ |
|
From: Ramon W. <ra...@nc...> - 2003-07-15 16:24:23
|
Hello.
I was trying to build the CVS version of JGB, and ran across this error
when building the make.elemdocs section:
[xslt]
home/jansky/ramonw/jgb_cvs/jgb/src/xdocs/template/elemdocs.xsl:37:80:
Fatal Error! /window/index.xml (No such file or directory) Cause:
java.io.FileNotFoundException: /window/index.xml (No such file or directory)
[xslt]
home/jansky/ramonw/jgb_cvs/jgb/src/xdocs/template/elemdocs.xsl:0:0:
Fatal Error! Fatal error during transformation Cause: Fatal error during
transformation
[xslt] Failed to process
/home/jansky/ramonw/jgb_cvs/jgb/tmp/preprocess/jgb.xml
Not having any luck figuring out what this means :(
Ramon
|
|
From: Francois B. <fb...@us...> - 2003-07-14 20:58:49
|
Hello ! I am in the progress of updating constraints handling in the JGB XML file. HEAD will be broken for a few hours. So, if you need access to the scrollable change, but not the broken constraints, then checkout the pre_constraints_recursive_change tag. This will give you everything, except those breakages... Have a nice day ! Fran=E7ois Developer of Java Gui Builder http://jgb.sourceforge.net/ |
|
From: Ramon W. <ra...@ja...> - 2003-07-14 19:27:40
|
-------- Wow! What quick Service! :) = Thanks, Francois. Ramon > Hi ! > = > I just finished implementing this. It was not too hard :) > = > Anyway, if you have CVS access, you can package a new release yourself.= = > Alternatively, you can wait for the next release of JGB, which should b= e > coming out in about a week. > = > Have a nice day ! > Fran=E7ois Beausoleil > Developer of Java Gui Builder > http://jgb.sourceforge.net/ > = > = > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general -- = --- #########################################################################= ##### Ramon L. Williamson II INTERNET: ra...@nc... Research Programmer Voice: (217) 244-4208 Radio Astronomy Imaging Team National Center for Supercomputing Applications (NCSA) I tried to learn the piano, but I was getting errors with #include<mozar= t.h>. *************************************************************************= **** |
|
From: Francois B. <fb...@us...> - 2003-07-14 19:21:04
|
Hi ! I just finished implementing this. It was not too hard :) Anyway, if you have CVS access, you can package a new release yourself.=20 Alternatively, you can wait for the next release of JGB, which should be coming out in about a week. Have a nice day ! Fran=E7ois Beausoleil Developer of Java Gui Builder http://jgb.sourceforge.net/ |
|
From: Ramon W. <ra...@ja...> - 2003-07-14 18:00:51
|
-------- > I believe that using the textfield will be enough. I have not tested i= t > though. If you could post back your results, that would be appreciated= =2E > = > Thanks ! > Fran=E7ois > = =2E =2E =2E > > > = > > Yes, that would be much handier. Do I need to use a JTextArea as Igo= r > > Kromin = > > did in his example, or can I add the pane to the JGB textfield? > > = > > Ramon > > = =2E =2E =2E Francois, You are correct, the textfield works fine. I will include my whole XML t= hat = creates the textarea, just for reference. [It also creates textfields and= a = combobox in a GridBagLayout]. The method seems to be: = 1) Create an object for the JViewport 2) After textarea is defined, define the scrollpane w/ scroll parameters = and = add the viewport defined in 1) as a property of the scroll. 3) Add a method call to add the viewport object. Not as bad as I thought at first. Ramon <!DOCTYPE window PUBLIC "-//SOURCEFORGE/Java Gui Builder DTD version 1.0/= /EN" = "http://jgb.sourceforge.net/dtd/jgb.dtd"> <window id=3D"BookStore" type=3D"jframe"> <object id=3D"window.size" class=3D"java.awt.Dimension"> <constructor> <parameter name=3D"width"> <value type=3D"int" data=3D"450"/> </parameter> <parameter name=3D"height"> <value type=3D"int" data=3D"350"/> </parameter> </constructor> </object> <!-- // This is the view port we will use --> <object id=3D"outputView" class=3D"javax.swing.JViewport"> <constructor /> </object> <controls> <layout class=3D"GridBagLayout"/> <constraints> <gridbag fill=3D"NONE" anchor=3D"EAST" gridx=3D"0" gridy=3D"0" inse= ts=3D"5,5,5,5" = weightx=3D"0.0" weighty=3D"1.0" gridheight=3D"1" gridwidth=3D"1"/> </constraints> <label id=3D"labelTitle" text=3D"Title"/> <constraints> <gridbag gridx=3D"1" fill=3D"HORIZONTAL" gridheight=3D"1" gridwidth= =3D"2" = weightx=3D"1.0"/> </constraints> <textfield id=3D"tfTitle"/> <constraints> <gridbag fill=3D"NONE" anchor=3D"EAST" gridx=3D"0" gridy=3D"1" inse= ts=3D"5,5,5,5" = weightx=3D"0.0" weighty=3D"1.0" gridheight=3D"1" gridwidth=3D"1"/> </constraints> <label id=3D"labelAuthor" text=3D"Author"/> <constraints> <gridbag gridx=3D"1" fill=3D"HORIZONTAL" gridheight=3D"1" gridwidth= =3D"2" = weightx=3D"1.0"/> </constraints> <textfield rows=3D"4" id=3D"taAuthor"/> <control class=3D"JScrollPane" id=3D"outputPane"> <property name=3D"verticalScrollBarPolicy"> <constant name=3D"javax.swing.JScrollPane.VERTICAL_SCROLLBAR_ALWAYS" /> </property> <property name=3D"horizontalScrollBarPolicy"> <constant name=3D"javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED" = /> </property> <property name=3D"viewport"> <ref refid=3D"outputView" /> </property> </control> <constraints> <gridbag fill=3D"NONE" anchor=3D"EAST" gridx=3D"0" gridy=3D"2" inse= ts=3D"5,5,5,5" = weightx=3D"0.0" weighty=3D"1.0" gridheight=3D"1" gridwidth=3D"1"/> </constraints> <label id=3D"labelGenre" text=3D"Genre"/> <constraints> <gridbag gridx=3D"1" fill=3D"HORIZONTAL" gridheight=3D"1" gridwidth= =3D"2" = weightx=3D"1.0"/> </constraints> <combo id=3D"comboGenre" choices=3D"General Fiction,Gothic = Romance,Mystery,Nonfiction,Science Fiction"/> <constraints> <gridbag fill=3D"NONE" anchor=3D"EAST" gridx=3D"0" gridy=3D"3" inse= ts=3D"5,5,5,5" = weightx=3D"0.0" weighty=3D"1.0" gridheight=3D"1" gridwidth=3D"1"/> </constraints> <label id=3D"labelDate" text=3D"Date"/> <constraints> <gridbag gridx=3D"1" fill=3D"HORIZONTAL" gridheight=3D"1" gridwidth= =3D"2" = weightx=3D"1.0"/> </constraints> <textfield id=3D"tfDate"/> <constraints> <gridbag fill=3D"NONE" anchor=3D"EAST" gridx=3D"0" gridy=3D"4" inse= ts=3D"5,5,5,5" = weightx=3D"0.0" weighty=3D"1.0" gridheight=3D"1" gridwidth=3D"1"/> </constraints> <label id=3D"labelISBN" text=3D"ISBN"/> <constraints> <gridbag gridx=3D"1" fill=3D"HORIZONTAL" gridheight=3D"1" gridwidth= =3D"2" = weightx=3D"1.0"/> </constraints> <textfield id=3D"tfISBN"/> <constraints> <gridbag fill=3D"NONE" anchor=3D"EAST" gridx=3D"0" gridy=3D"5" inse= ts=3D"5,5,5,5" = weightx=3D"0.0" weighty=3D"1.0" gridheight=3D"1" gridwidth=3D"1"/> </constraints> <label id=3D"labelPublisher" text=3D"Publisher"/> <constraints> <gridbag gridx=3D"1" fill=3D"HORIZONTAL" gridheight=3D"1" gridwidth= =3D"2" = weightx=3D"1.0"/> </constraints> <textfield id=3D"tfPublisher"/> </controls> <methodCall refid=3D"outputView" method=3D"add"> <parameter> <ref refid=3D"taAuthor" /> </parameter> </methodCall> <methodCall refid=3D"BookStore" method=3D"pack"/> <methodCall refid=3D"BookStore" method=3D"setDefaultCloseOperation"> <parameter> <constant name=3D"javax.swing.WindowConstants.DISPOSE_ON_CLOSE"/> </parameter> </methodCall> <methodCall refid=3D"BookStore" method=3D"setVisible"> <parameter> <value type=3D"boolean" data=3D"true"/> </parameter> </methodCall> <property name=3D"title"> <value type=3D"string" data=3D"Book Store Application"/> </property> <property name=3D"size"> <ref refid=3D"window.size"/> </property> </window> -- = --- #########################################################################= ##### Ramon L. Williamson II INTERNET: ra...@nc... Research Programmer Voice: (217) 244-4208 Radio Astronomy Imaging Team National Center for Supercomputing Applications (NCSA) I tried to learn the piano, but I was getting errors with #include<mozar= t.h>. *************************************************************************= **** |
|
From: Francois B. <fb...@us...> - 2003-07-14 17:05:20
|
I believe that using the textfield will be enough. I have not tested it though. If you could post back your results, that would be appreciated. Thanks ! Fran=E7ois On Mon, 14 Jul 2003 10:43:02 -0500, "Ramon Williamson" <ra...@ja...> said: > -------- > > Hello Ramon, > >=20 > > The solution is indeed the JScrollPane. It should be easier than that,= I > > agree. Maybe a <scrollable> element should be added to JGB ? > >=20 > > Bye ! > > Fran=E7ois > >=20 > Yes, that would be much handier. Do I need to use a JTextArea as Igor > Kromin=20=20 > did in his example, or can I add the pane to the JGB textfield? >=20 > Ramon >=20 > > On Mon, 14 Jul 2003 10:20:31 -0500, "Ramon Williamson" > > <ra...@nc...> said: > > > Hello. > > >=20 > > > I notice that the mechanism for adding textareas to JGB was to add a= =20 > > > "rows" parameter to textfield. What I have found in using this featu= re=20 > > > is that if you create mor rows of text than it is set for, it stretch= es,=20 > > > making the area bigger and bigger. Is there a way to add scrollbars = to=20 > > > this widget, or is the prescribed solution to use the jscrollpane=20 > > > mentioned earier in this list? This seems to add quite a bit of=20 > > > complexity to the XML. > > >=20 > > > Thanks for any tips. > > >=20 > > > Ramon > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Parasoft > > > Error proof Web apps, automate testing & more. > > > Download & eval WebKing and get a free book. > > > www.parasoft.com/bulletproofapps1 > > > _______________________________________________ > > > jgb-general mailing list > > > jgb...@li... > > > https://lists.sourceforge.net/lists/listinfo/jgb-general > > >=20 > > Developer of Java Gui Builder > > http://jgb.sourceforge.net/ > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps1 > > _______________________________________________ > > jgb-general mailing list > > jgb...@li... > > https://lists.sourceforge.net/lists/listinfo/jgb-general >=20 > --=20 >=20 > --- > #########################################################################= ##### > Ramon L. Williamson II INTERNET: ra...@nc... > Research Programmer Voice: (217) 244-4208 > Radio Astronomy Imaging Team > National Center for Supercomputing Applications (NCSA) >=20 > I tried to learn the piano, but I was getting errors with > #include<mozart.h>. >=20 > *************************************************************************= **** >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general >=20 Developer of Java Gui Builder http://jgb.sourceforge.net/ |
|
From: Ramon W. <ra...@ja...> - 2003-07-14 15:43:09
|
-------- > Hello Ramon, > = > The solution is indeed the JScrollPane. It should be easier than that,= I > agree. Maybe a <scrollable> element should be added to JGB ? > = > Bye ! > Fran=E7ois > = Yes, that would be much handier. Do I need to use a JTextArea as Igor Kr= omin = did in his example, or can I add the pane to the JGB textfield? Ramon > On Mon, 14 Jul 2003 10:20:31 -0500, "Ramon Williamson" > <ra...@nc...> said: > > Hello. > > = > > I notice that the mechanism for adding textareas to JGB was to add a = > > "rows" parameter to textfield. What I have found in using this featu= re = > > is that if you create mor rows of text than it is set for, it stretch= es, = > > making the area bigger and bigger. Is there a way to add scrollbars = to = > > this widget, or is the prescribed solution to use the jscrollpane = > > mentioned earier in this list? This seems to add quite a bit of = > > complexity to the XML. > > = > > Thanks for any tips. > > = > > Ramon > > = > > = > > = > > = > > = > > ------------------------------------------------------- > > This SF.Net email sponsored by: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps1 > > _______________________________________________ > > jgb-general mailing list > > jgb...@li... > > https://lists.sourceforge.net/lists/listinfo/jgb-general > > = > Developer of Java Gui Builder > http://jgb.sourceforge.net/ > = > = > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general -- = --- #########################################################################= ##### Ramon L. Williamson II INTERNET: ra...@nc... Research Programmer Voice: (217) 244-4208 Radio Astronomy Imaging Team National Center for Supercomputing Applications (NCSA) I tried to learn the piano, but I was getting errors with #include<mozar= t.h>. *************************************************************************= **** |
|
From: Francois B. <fb...@us...> - 2003-07-14 15:30:10
|
Hello Ramon, The solution is indeed the JScrollPane. It should be easier than that, I agree. Maybe a <scrollable> element should be added to JGB ? Bye ! Fran=E7ois On Mon, 14 Jul 2003 10:20:31 -0500, "Ramon Williamson" <ra...@nc...> said: > Hello. >=20 > I notice that the mechanism for adding textareas to JGB was to add a=20 > "rows" parameter to textfield. What I have found in using this feature= =20 > is that if you create mor rows of text than it is set for, it stretches,= =20 > making the area bigger and bigger. Is there a way to add scrollbars to= =20 > this widget, or is the prescribed solution to use the jscrollpane=20 > mentioned earier in this list? This seems to add quite a bit of=20 > complexity to the XML. >=20 > Thanks for any tips. >=20 > Ramon >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general >=20 Developer of Java Gui Builder http://jgb.sourceforge.net/ |
|
From: Ramon W. <ra...@nc...> - 2003-07-14 15:20:53
|
Hello. I notice that the mechanism for adding textareas to JGB was to add a "rows" parameter to textfield. What I have found in using this feature is that if you create mor rows of text than it is set for, it stretches, making the area bigger and bigger. Is there a way to add scrollbars to this widget, or is the prescribed solution to use the jscrollpane mentioned earier in this list? This seems to add quite a bit of complexity to the XML. Thanks for any tips. Ramon |
|
From: Ramon W. <ra...@ja...> - 2003-07-03 21:00:54
|
-------- Francois, I think I see; the constraints are done *before* the widget is defined, analogous to seting the constraints before the add in Java. Now it makes more sense! Thanks. Ramon > Hello Ramon, > > Here's what I would have done instead: > <controls> > <layout class="GridBagLayout"/> > > <constraints> > <gridbag gridx="0" gridy="0" fill="BOTH" anchor="CENTER" > weightx="0.0" weighty="0.0" insets="2"/> > </constraints> > > <label text="Title"/> > <!-- Change only the gridx, as the other entries are correct --> > <constraints><gridbag gridx="1"/></constraints> > <textfield .../> > > <!-- Now, we need to change line, and go back to the left --> > <constraints><gridbag gridx="0" gridy="1"/></constraints> > ... > </controls> > > I suggest you brush up on your GridBagLayout JavaDoc at > http://java.sun.com/j2se/1.4.2/docs/api/java/awt/GridBagLayout.html as > you seem to have confused the meaning of the anchor and fill attribute. > Fill is used to specify how a control should expand in it's grid cell, > and anchor specifies where in a grid cell a control should go, if it does > not fill the whole cell. > > If you have other questions, don't hesitate ! > > Bye ! > Francois > > On Thu, 03 Jul 2003 15:11:34 -0500, "Ramon Williamson" > <ra...@nc...> said: > > Hello. > > > > I am trying out JGB by trying to create a Book Store GUI with Title, > > Author, > > ISBN, and Publisher textfields with labels using the GridBagLayout. I > > have > > written a Java applet that looks like what I want, so I just plugged in > > the > > constraints from that applet into the XML for JGB. Instead of getting: > > > > Title ____________________________ > > Author ____________________________ > > ISBN ______________________________ > > Publisher _________________________ > > > > I get > > > > Title > > ________________________________ Author > > ________________________________ ISBN > > ________________________________ Publisher > > ________________________________ > > > [snip] > -- > Francois Beausoleil > Developer of Java Gui Builder > http://jgb.sourceforge.net/ > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general -- --- ############################################################################## Ramon L. Williamson II INTERNET: ra...@nc... Research Programmer Voice: (217) 244-4208 Radio Astronomy Imaging Team National Center for Supercomputing Applications (NCSA) I tried to learn the piano, but I was getting errors with #include<mozart.h>. ***************************************************************************** |
|
From: Francois B. <fb...@us...> - 2003-07-03 20:38:37
|
Hello Ramon,
Here's what I would have done instead:
<controls>
<layout class="GridBagLayout"/>
<constraints>
<gridbag gridx="0" gridy="0" fill="BOTH" anchor="CENTER"
weightx="0.0" weighty="0.0" insets="2"/>
</constraints>
<label text="Title"/>
<!-- Change only the gridx, as the other entries are correct -->
<constraints><gridbag gridx="1"/></constraints>
<textfield .../>
<!-- Now, we need to change line, and go back to the left -->
<constraints><gridbag gridx="0" gridy="1"/></constraints>
...
</controls>
I suggest you brush up on your GridBagLayout JavaDoc at
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/GridBagLayout.html as
you seem to have confused the meaning of the anchor and fill attribute.
Fill is used to specify how a control should expand in it's grid cell,
and anchor specifies where in a grid cell a control should go, if it does
not fill the whole cell.
If you have other questions, don't hesitate !
Bye !
Francois
On Thu, 03 Jul 2003 15:11:34 -0500, "Ramon Williamson"
<ra...@nc...> said:
> Hello.
>
> I am trying out JGB by trying to create a Book Store GUI with Title,
> Author,
> ISBN, and Publisher textfields with labels using the GridBagLayout. I
> have
> written a Java applet that looks like what I want, so I just plugged in
> the
> constraints from that applet into the XML for JGB. Instead of getting:
>
> Title ____________________________
> Author ____________________________
> ISBN ______________________________
> Publisher _________________________
>
> I get
>
> Title
> ________________________________ Author
> ________________________________ ISBN
> ________________________________ Publisher
> ________________________________
>
[snip]
--
Francois Beausoleil
Developer of Java Gui Builder
http://jgb.sourceforge.net/
|
|
From: Ramon W. <ra...@nc...> - 2003-07-03 20:11:43
|
Hello.
I am trying out JGB by trying to create a Book Store GUI with Title,
Author,
ISBN, and Publisher textfields with labels using the GridBagLayout. I have
written a Java applet that looks like what I want, so I just plugged in the
constraints from that applet into the XML for JGB. Instead of getting:
Title ____________________________
Author ____________________________
ISBN ______________________________
Publisher _________________________
I get
Title
________________________________ Author
________________________________ ISBN
________________________________ Publisher
________________________________
I have pounded and pounded this, and still get same results.
Any help would be appreciated.
Here is the XML:
<!DOCTYPE window PUBLIC
"-//SOURCEFORGE/Java Gui Builder DTD version 1.0//EN"
"http://jgb.sourceforge.net/dtd/jgb.dtd">
<window id="BookStore" type="jframe">
<object id="window.size" class="java.awt.Dimension">
<constructor>
<parameter name="width">
<value type="int" data="480"/>
</parameter>
<parameter name="height">
<value type="int" data="400"/>
</parameter>
</constructor>
</object>
<controls>
<layout class="GridBagLayout"/>
<constraints>
<gridbag fill="BOTH" anchor="NORTH" gridwidth="1"
gridheight="1"
gridx="0" gridy="0" insets="2" weightx="0.0"
weighty="0.0"/>
</constraints>
<label id="labelTitle" text="Title"/>
<constraints>
<gridbag gridx="0" gridy="1" gridwidth="1"
gridheight="1" weightx="10.0" weighty="40.0" fill="NONE"/>
</constraints>
<textfield id="tfTitle" columns="40" />
<constraints>
<gridbag gridx="1" gridy="1" gridwidth="1"
gridheight="1" weightx="90.0" weighty="0.0" fill="HORIZONTAL"/>
</constraints>
<label id="labelAuthor" text="Author"/>
<constraints>
<gridbag gridx="0" gridy="2" gridwidth="1"
gridheight="1" weightx="0.0" weighty="40.0" anchor="EAST" fill="NONE"/>
</constraints>
<textfield id="tfAuthor" columns="40" />
<constraints>
<gridbag gridx="1" gridy="2" gridwidth="1"
gridheight="1" weightx="90.0" weighty="0.0" fill="HORIZONTAL"/>
</constraints>
<label id="labelISBN" text="ISBN"/>
<constraints>
<gridbag gridx="0" gridy="3" gridwidth="1"
gridheight="1" weightx="0.0" weighty="40.0" anchor="EAST" fill="NONE"/>
</constraints>
<textfield id="tfISBN" columns="40" />
<constraints>
<gridbag gridx="1" gridy="3" gridwidth="1"
gridheight="1" weightx="0.0" weighty="0.0" fill="HORIZONTAL"/>
</constraints>
<label id="labelPublisher" text="Publisher"/>
<constraints>
<gridbag gridx="0" gridy="4" gridwidth="1"
gridheight="1" weightx="0.0" weighty="40.0" anchor="EAST" fill="NONE"/>
</constraints>
<textfield id="tfPublsiher" columns="40" />
<constraints>
<gridbag gridx="1" gridy="4" gridwidth="1"
gridheight="1" weightx="0.0" weighty="0.0" fill="HORIZONTAL"/>
</constraints>
</controls>
<!--
Finally, pack and show the dialog.
-->
<methodCall refid="BookStore" method="pack" />
<methodCall refid="BookStore" method="setDefaultCloseOperation">
<parameter>
<constant name="javax.swing.WindowConstants.DISPOSE_ON_CLOSE" />
</parameter>
</methodCall>
<methodCall refid="BookStore" method="setVisible">
<parameter>
<value type="boolean" data="true" />
</parameter>
</methodCall>
<property name="size">
<ref refid="window.size"/>
</property>
</window>
Ramon Williamson
|
|
From: Francois B. <fb...@us...> - 2003-07-02 02:00:48
|
Hello Ramon,
Just use regular property statements:
<window id=3D"aWindow" type=3D"jframe">
<controls>
<label id=3D"someLabel">
<property name=3D"foreground">
<constant name=3D"java.awt.Color.RED"/>
</property>
</label>
</controls>
<methodCall name=3D"setWidth">
<parameter name=3D"width">
<value type=3D"int" data=3D"640"/>
</parameter>
<parameter name=3D"height">
<value type=3D"int" data=3D"480"/>
</parameter>
</methodCall>
</window>
Alternatively, for the size property, you could declare a
java.awt.Dimension and then use that as a parameter to the property call.
If you wish to have more information, I would like to point out that all
elements are explained in the distribution as well as on the web site
itself: http://jgb.sourceforge.net/documentation/elements/index.php.
If you have more questions, do not hesitate !
Hope that helps !
Fran=E7ois
On Tue, 01 Jul 2003 14:59:38 -0500, "Ramon Williamson"
<ra...@nc...> said:
> Hello.
>=20
> Just getting started using JGB, and was wondering a couple things:
>=20
> 1. How does one set the color of the text for a widget e.g. a label
> 2. Can you set the size of a JFrame being created?
>=20
> Thanks,
>=20
> Ramon Williamson
>=20
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> jgb-general mailing list
> jgb...@li...
> https://lists.sourceforge.net/lists/listinfo/jgb-general
>=20
--
Francois Beausoleil
Developer of Java Gui Builder
http://jgb.sourceforge.net/
|
|
From: Ramon W. <ra...@nc...> - 2003-07-01 20:04:25
|
Hello. Just getting started using JGB, and was wondering a couple things: 1. How does one set the color of the text for a widget e.g. a label 2. Can you set the size of a JFrame being created? Thanks, Ramon Williamson |
|
From: Francois B. <fb...@us...> - 2003-06-27 15:09:07
|
Hello Steven, Well, I took a look. In fact, the implementation was not completed. I have updated the whole sheet and tab thing to be correctly implemented. The CVS repository contains the latest code, and can correctly handle sheet and tab elements in the JGB XML file. Hope that helps. Bye, Fran=E7ois On Fri, 20 Jun 2003 12:08:56 +0100, "Steven Oglesby" <ste...@co...> said: > Hello, > It appears that the dtd elements for 'sheet' and 'tab' are not fully > defined. i.e. Sheet should allow Tab as a child element and should have a > tabPlacement attribute, and Tab should have title, icon and tip > attributes. > The tag handlers appear to be in the code OK. >=20 > Regards, > Steven >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general >=20 -- Francois Beausoleil Developer of Java Gui Builder http://jgb.sourceforge.net/ |
|
From: <ha...@id...> - 2003-06-26 12:19:24
|
Hi, > JGB is published under the GNU GPL. As i understand this > license, it is not allowed to write commercial (non GPL) > programs using JGB ? Is it possible to get an other license > to use your library for non-free programs ? JGB would be just > a small (but nice) part of the complete application and i > don't think i can get my employer to GPL the whole work :-). Perhaps an LGPL license is more appropriate. This will let an unmodified JGB jar be used in a commercial application. Hallvard |
|
From: Francois B. <fb...@us...> - 2003-06-26 12:17:43
|
Hi, I have been asked that before. I have considered switching to the LGPL, but have not done so, yet. It would probably be a good idea, though. It would help promote the adoption of JGB in commercial and Open Source projects. I do not really want to profit from JGB, but would like to know when it has been included in other products. I will consider a change of license and will post back. Bye, Fran=E7ois On Thu, 26 Jun 2003 13:49:50 +0200 (MEST), Ska...@gm... said: > Hello there, >=20 > JGB is published under the GNU GPL. As i understand this license, it is > not > allowed to write commercial (non GPL) programs using JGB ? Is it possible > to > get an other license to use your library for non-free programs ? JGB > would be > just a small (but nice) part of the complete application and i don't > think i > can get my employer to GPL the whole work :-). >=20 > Bye, >=20 > Heiko. >=20 > --=20 > +++ GMX - Mail, Messaging & more http://www.gmx.net +++ > Bitte l=E4cheln! Fotogalerie online mit GMX ohne eigene Homepage! >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general >=20 -- Francois Beausoleil Developer of Java Gui Builder http://jgb.sourceforge.net/ |
|
From: <Ska...@gm...> - 2003-06-26 11:49:59
|
Hello there, JGB is published under the GNU GPL. As i understand this license, it is not allowed to write commercial (non GPL) programs using JGB ? Is it possible to get an other license to use your library for non-free programs ? JGB would be just a small (but nice) part of the complete application and i don't think i can get my employer to GPL the whole work :-). Bye, Heiko. -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! |
|
From: Francois B. <fb...@us...> - 2003-06-20 12:54:39
|
Hello Steven, I will look into this. Bye, Fran=E7ois On Fri, 20 Jun 2003 12:08:56 +0100, "Steven Oglesby" <ste...@co...> said: > Hello, > It appears that the dtd elements for 'sheet' and 'tab' are not fully > defined. i.e. Sheet should allow Tab as a child element and should have a > tabPlacement attribute, and Tab should have title, icon and tip > attributes. > The tag handlers appear to be in the code OK. >=20 > Regards, > Steven >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > jgb-general mailing list > jgb...@li... > https://lists.sourceforge.net/lists/listinfo/jgb-general >=20 -- Francois Beausoleil Developer of Java Gui Builder http://jgb.sourceforge.net/ |