luxor-xul-user Mailing List for Luxor XUL (Page 2)
Status: Beta
Brought to you by:
vamp201
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(9) |
Jul
(11) |
Aug
(16) |
Sep
(14) |
Oct
(44) |
Nov
(36) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(44) |
Feb
(71) |
Mar
(42) |
Apr
(55) |
May
(11) |
Jun
(23) |
Jul
(28) |
Aug
(8) |
Sep
(33) |
Oct
(31) |
Nov
(22) |
Dec
(26) |
2004 |
Jan
(25) |
Feb
(37) |
Mar
(8) |
Apr
(21) |
May
(10) |
Jun
(30) |
Jul
(11) |
Aug
(28) |
Sep
(1) |
Oct
(6) |
Nov
(3) |
Dec
(5) |
2005 |
Jan
(15) |
Feb
(17) |
Mar
(7) |
Apr
(9) |
May
(1) |
Jun
(2) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
(2) |
Apr
(3) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Gerald B. <ge...@va...> - 2005-04-07 01:32:06
|
Hello Dasaev Cerqueda, > The problem is that i have found the methods to > obtain Components > as ImageIcon[], JMenuBars, JToolbars, etc. I talk > about the following > methods: > > xul.lookupAnim("a string"); > xul.lookupMenuBar("a string"); > xul.lookupToolBar("a string"); > > but i cannot access to a simple button with some > method. I need this > to be able to change the text in a status bar. could > you help me?. To get access to a simple button the best approach is to get a reference to the panel/box holding the button and than using the get method (from the JPanelEx class). > Another question, could you say me where is the > reference to the > statusbar and statusbarpanel tags?. The statusbar and statusbarpanel tags are currently undocumented. So its best to check the source as the definite reference. - Gerald |
From: Dasaev C. <da...@gm...> - 2005-04-07 00:45:06
|
Hi everybody: The problem is that i have found the methods to obtain Components as ImageIcon[], JMenuBars, JToolbars, etc. I talk about the following methods: xul.lookupAnim("a string"); xul.lookupMenuBar("a string"); xul.lookupToolBar("a string"); but i cannot access to a simple button with some method. I need this to be able to change the text in a status bar. could you help me?. Another question, could you say me where is the reference to the statusbar and statusbarpanel tags?. Thank you |
From: Dasaev C. <da...@gm...> - 2005-04-07 00:13:57
|
da...@gm... |
From: Gerald B. <ge...@va...> - 2005-03-16 16:59:04
|
Hello, after getting some request about commercial licensing I've decided to switch the Luxor license to the GNU Library/Lesser GPL. I will update the Luxor websites soon to reflect the new licensing policy. Again thanks for your interest in the Luxor XML UI language toolkit. Let me know if this new licensing policy works for you. - Gerald |
From: saiyed m. m. <sai...@re...> - 2005-03-08 04:23:11
|
=0AHi Gerald,=0A I receieved your mail.Thank you very much for your ver= y kind reply.=0Awith regards...=0Ariyaz...=0A=0AOn Mon, 07 Mar 2005 Gerald = Bauer wrote :=0A>Hello saiyed mahammadriyaz,=0A>=0A> > Please, guide me as = i'm new to XUL.=0A>=0A> If you're new to XUL I suggest starting using the= =0A>Thinlet XUL toolkit. See http://thinletplus.com for=0A>details.=0A>=0A>= You can find an extensive Thinlet tutorial online @=0A>http://javaboutiq= ue.internet.com/tutorials/thinletone=0A>=0A> Once you're more familar wit= h XUL you might wonna=0A>download the Luxor docu bundle and the Ramses Luxo= r=0A>example suite.=0A>=0A> - Gerald=0A>=0A>=0A>-------------------------= ------------------------------=0A>SF email is sponsored by - The IT Product= Guide=0A>Read honest & candid reviews on hundreds of IT Products from real= users.=0A>Discover which products truly live up to the hype. Start reading= now.=0A>http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick=0A>_= ______________________________________________=0A>luxor-xul-user mailing li= st=0A>lux...@li...=0A>https://lists.sourceforge.net= /lists/listinfo/luxor-xul-user=0A |
From: Gerald B. <ge...@va...> - 2005-03-07 17:52:57
|
Hello saiyed mahammadriyaz, > Please, guide me as i'm new to XUL. If you're new to XUL I suggest starting using the Thinlet XUL toolkit. See http://thinletplus.com for details. You can find an extensive Thinlet tutorial online @ http://javaboutique.internet.com/tutorials/thinletone Once you're more familar with XUL you might wonna download the Luxor docu bundle and the Ramses Luxor example suite. - Gerald |
From: saiyed m. m. <sai...@re...> - 2005-03-07 04:41:34
|
Hello..=0A I've downloaded luxor-1.9-b9.zip.after unzipping i got direct= ory luxor-1.9-b9. inside thar i found luxor-1.9-b9-dev.jar.Even after extra= cting that i'm not getting idea wat to do and how to start. is it visual to= ol kit? if yes then how to run it?please guide me as i'm new to XUL.=0Athan= ks...=0A |
From: Gerald B. <ge...@va...> - 2005-03-07 01:45:27
|
Hello Jino, > Is there a tutorial in english for luxor? > Where does one start? There's an "unofficial" somewhat outdated Luxor tutorial online @ http://luxor-contrib.sourceforge.net/index.php?alias=tutorials To get started you might also try out Luxilla. See http://luxilla.sourceforge.net To see try out some real examples including "code-behind" not just markup I recommend downloading the Ramses Luxor example package. Finally, if you're complete new to the XUL world you might try Thinlet first. See http://thinletplus.com for details. Let us know how it goes. - Gerald PS: There's also a DevX article online covering Luxor. See http://www.devx.com/webdev/Article/21350 |
From: Jino M. <jpm...@ya...> - 2005-03-05 04:04:13
|
Is there a tutorial in english for luxor? Where does one start? __________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ |
From: Gerald B. <ge...@va...> - 2005-03-02 01:49:38
|
Hello, DevX has published an article by Laurence Moroney titled "XUI: Finally, a Java GUI Framework You Can Love" that includes a reference to Luxor. Laurence writes: It is for this reason that it makes a nice alternative, or indeed a nice complement to some of the better known XML-based GUI frameworks for Java such as Luxor-XUL and SWT. Full story @ http://www.devx.com/Java/Article/27383 - Gerald |
From: Gerald B. <ge...@va...> - 2005-02-16 23:40:36
|
Hello Phalip Julien, > Is there a cvs server running somewhere for the > luxor sources? Well, of course. See http://sourceforge.net/cvs/?group_id=28946 - Gerald |
From: Phalip J. <juj...@ya...> - 2005-02-16 22:35:49
|
Is there a cvs server running somewhere for the luxor sources? Gerald Bauer <ge...@va...> wrote:Hello Julien, > The Css class on contains a "PADDING" static > attribute, but no "padding-top", "padding-left", ... > Should we extend it? Sure. Add the missing padding properties. > Then, could explain what are the steps to follow to > implement missing (in luxor) properties. Well, I think the easiest route is to add the property to the XulTag class (see http://cvs.sourceforge.net/viewcvs.py/luxor-xul/luxor/src/luxor/core ) and than use a getPaddingTop() method in the label definition to configure the label the way you want. > Finally, what do you mean by "CVS patch", I am sorry > I am not very familiar with that... If you use a CVS client (e.g. Eclipse) you can create a diff file (aka CVS patch) automatically that lists all changes you made to the code. See the Free O'Reilly Book Chapter on Using Eclipse and CVS for details. You can get your free copy online @ http://www.oreilly.com/catalog/eclipseckbk - Gerald ------------------------------------------------------- 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=6595&alloc_id=14396&op=click _______________________________________________ luxor-xul-user mailing list lux...@li... https://lists.sourceforge.net/lists/listinfo/luxor-xul-user --------------------------------- Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail |
From: Phalip J. <juj...@ya...> - 2005-02-16 22:22:57
|
Hi Gerard, I only could find the compiled beta9 on luxor's sourceforge website. Where could I get the sources? Thanks, Julien --------------------------------- Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail |
From: Gerald B. <ge...@va...> - 2005-02-15 02:22:53
|
Hello Julien, > The Css class on contains a "PADDING" static > attribute, but no "padding-top", "padding-left", ... > Should we extend it? Sure. Add the missing padding properties. > Then, could explain what are the steps to follow to > implement missing (in luxor) properties. Well, I think the easiest route is to add the property to the XulTag class (see http://cvs.sourceforge.net/viewcvs.py/luxor-xul/luxor/src/luxor/core ) and than use a getPaddingTop() method in the label definition to configure the label the way you want. > Finally, what do you mean by "CVS patch", I am sorry > I am not very familiar with that... If you use a CVS client (e.g. Eclipse) you can create a diff file (aka CVS patch) automatically that lists all changes you made to the code. See the Free O'Reilly Book Chapter on Using Eclipse and CVS for details. You can get your free copy online @ http://www.oreilly.com/catalog/eclipseckbk - Gerald |
From: Phalip J. <juj...@ya...> - 2005-02-15 01:58:12
|
Hi Gerald. The Css class on contains a "PADDING" static attribute, but no "padding-top", "padding-left", ... Should we extend it? Then, could explain what are the steps to follow to implement missing (in luxor) properties. Finally, what do you mean by "CVS patch", I am sorry I am not very familiar with that... Cheers, Julien Gerald Bauer <ge...@va...> wrote: Hello Julien, > I'd like to add margins to my components. For > example: > > > > But this doesn't work. Is there anything supported > by Luxor that could help? Luxor includes a fairly complete CSS parser and infrastructure. I suggest adding the code for the missing property. If you need assistance in getting started let me know. Otherwise, send me the CVS patch and I'll add it the source tree. - Gerald ------------------------------------------------------- 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=6595&alloc_id=14396&op=click _______________________________________________ luxor-xul-user mailing list lux...@li... https://lists.sourceforge.net/lists/listinfo/luxor-xul-user --------------------------------- Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail |
From: Gerald B. <ge...@va...> - 2005-02-15 01:12:03
|
Hello, Just to let you know that I checked in the sources for the Luxor Eclipse SWT edition yesterday and that I also switched over the build to use Maven. You can browse the source online @ http://cvs.sourceforge.net/viewcvs.py/luxor-xul/luxor-swt - Gerald |
From: Gerald B. <ge...@va...> - 2005-02-15 01:05:38
|
Hello Julien, > Apparently the problem was not from Luxor. > I forgot to close explicitly the fileOutputStream I > used to create the file. As I didn't keep any > reference of this object I thought it would have > been closed automatically when the garbage collector > killed it. > > So, forget about my "in.close()" patch. Thanks for the update. Good to know that's not a bug in Luxor. - Gerald |
From: Gerald B. <ge...@va...> - 2005-02-15 01:04:39
|
Hello Julien, > I'd like to add margins to my components. For > example: > > <label ...... style="padding-top: 20px"> > > But this doesn't work. Is there anything supported > by Luxor that could help? Luxor includes a fairly complete CSS parser and infrastructure. I suggest adding the code for the missing property. If you need assistance in getting started let me know. Otherwise, send me the CVS patch and I'll add it the source tree. - Gerald |
From: Phalip J. <juj...@ya...> - 2005-02-14 23:01:43
|
Apparently the problem was not from Luxor. I forgot to close explicitly the fileOutputStream I used to create the file. As I didn't keep any reference of this object I thought it would have been closed automatically when the garbage collector killed it. So, forget about my "in.close()" patch. Cheers. Martin van den Bemt <ml...@mv...> wrote: Your try catch doesn't really add anything. Add a finally, so the in.close is always executed in case of an error.. Don't know if it solves anything, but it at least is an improvement. Mvgr, Martin sgfdgf ryejt wrote: > Hi all, > > My application dynamically generates xul files and copy them in the > chrome/startup directory. Then I use Luxor to render them in a java > environment. But once the rendering is done, I would like to delete > these xul files. > > To do so: > > File file = new file ("chrome/startup/myfile.xul"); > boolean b = file.delete(); > > However, 90% (yes, not 100%) of the times, I cannot delete them and b == > false. > > I suspect, the xul file might be used my a thread or something. However > I can delete it manually from the windows explorer... > > I tried, in vain: > > while (!file.delete()) {} which loops forever... > > I also tried to modify the method: > > XulLoader.load(String name) { > { > try > { > T.debug( "loading xul file " + name ); > InputStream in = _loader.getResourceAsStream( name ); > SAXBuilder builder = new SAXBuilder(); > Document doc = builder.build( in ); > Element xul = doc.getRootElement(); > createElements( null, xul ); > T.debug( "xul file " + name + " successfully loaded" ); > // Here's my modification... > try { > in.close(); > } > catch (IOException ex) { > } > } > catch( JDOMException jex ) > { > Xul.Error.XUL_PARSING_EXCEPTION( name, jex ); > } > } > > ...didn't work either.... > > Would you have an idea of how to fix this? > > Cheers, > > Julien > > > ------------------------------------------------------------------------ > Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos > mails ! > Créez votre Yahoo! Mail > > ------------------------------------------------------- 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=6595&alloc_id=14396&op=click _______________________________________________ luxor-xul-user mailing list lux...@li... https://lists.sourceforge.net/lists/listinfo/luxor-xul-user --------------------------------- Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail |
From: Phalip J. <juj...@ya...> - 2005-02-14 22:54:09
|
Hi! I'd like to add margins to my components. For example: <label ...... style="padding-top: 20px"> But this doesn't work. Is there anything supported by Luxor that could help? Cheers, Julien --------------------------------- Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail |
From: Gerald B. <ge...@va...> - 2005-02-13 23:36:35
|
Hello, Let me know if anyone has any experience with AOP and AspectJ. About a year ago R. Dale Asberry (of Judy Jini.org project fame) has used AspectJ in Luxor development. See the Memphis Sun story online @ http://luxor-xul.sourceforge.net/sun/2004/01/aspectj_in_action_weave_in_your_own_luxor_xul_widget_attributes.html for details. Back than I was all new to AOP and I didn't really see the value because I had only a vague idea what AOP is all about. Now a year later the value of AOP is clear and AOP and AspectJ will help to simplify the Luxor programming model by weaving in, for example, new methods to the Swing or SWT widget classes. Anyways, let me know if there's any interest in keeping an AspectJ-free version. If not, the next version of Luxor, that is, Beta 10 will start using AspectJ. - Gerald PS: You can find out more about AspectJ @ http://eclipse.org/aspectj PPS: For more about adding new methods to existing classes, see the IBM developerworks article titled "AOP banishes the tight-coupling blues - Build highly decoupled systems with the power of static crosscutting" by Andrew Glover online @ http://www-128.ibm.com/developerworks/library/j-aopsc |
From: Gerald B. <ge...@va...> - 2005-02-12 05:14:25
|
Hello, I've completed the switch-over for the Luxor core library to the Maven build system. Now you can get all dependend libraries from the ibiblio.org Maven repository Libraries not yet available at ibiblio.or such as Apollo, Rachel, etc. you can get at the Luxor Maven repository online @ http://luxor-xul.sourceforge.net/nightly Note, that Luxor Beta 9 is a maintainance release to get development back on track and thus the release doesn't include major changes. I invite you to send in your patches you want to see added for the next maintainance release. If you run into any trouble using the latest release, let us know and post your questions and comments to the luxor-xul-user mailinglist. See http://luxorforum.com for details. Enjoy and have a great weekend. - Gerald |
From: Martin v. d. B. <ml...@mv...> - 2005-02-10 09:09:41
|
Your try catch doesn't really add anything. Add a finally, so the in.close is always executed in case of an error.. Don't know if it solves anything, but it at least is an improvement. Mvgr, Martin sgfdgf ryejt wrote: > Hi all, > > My application dynamically generates xul files and copy them in the > chrome/startup directory. Then I use Luxor to render them in a java > environment. But once the rendering is done, I would like to delete > these xul files. > > To do so: > > File file = new file ("chrome/startup/myfile.xul"); > boolean b = file.delete(); > > However, 90% (yes, not 100%) of the times, I cannot delete them and b == > false. > > I suspect, the xul file might be used my a thread or something. However > I can delete it manually from the windows explorer... > > I tried, in vain: > > while (!file.delete()) {} which loops forever... > > I also tried to modify the method: > > XulLoader.load(String name) { > { > try > { > T.debug( "loading xul file " + name ); > InputStream in = _loader.getResourceAsStream( name ); > SAXBuilder builder = new SAXBuilder(); > Document doc = builder.build( in ); > Element xul = doc.getRootElement(); > createElements( null, xul ); > T.debug( "xul file " + name + " successfully loaded" ); > // Here's my modification... > try { > in.close(); > } > catch (IOException ex) { > } > } > catch( JDOMException jex ) > { > Xul.Error.XUL_PARSING_EXCEPTION( name, jex ); > } > } > > ...didn't work either.... > > Would you have an idea of how to fix this? > > Cheers, > > Julien > > > ------------------------------------------------------------------------ > Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos > mails ! > Créez votre Yahoo! Mail > <http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=25917/*http://fr.rd.yahoo.com/mail_fr/mail_campaigns/splash/taglines_250/default/*http://fr.promotions.yahoo.com/mail/creer28.html> > |
From: Gerald B. <ge...@va...> - 2005-02-10 03:49:11
|
Hello Julien, > Would you have an idea of how to fix this? Hard to tell. I think closing just a reference to an inputstream is not good enough e.g. in.close(); You might try to get a handle to the FileReader or whatever object creates the input stream and call the close on the "outer-most" object containing the hierachy of inputstreams. - Gerald ______________________________________ XUL News Wire - http://xulnews.com XUL Alliance - http://xulalliance.org |
From: sgfdgf r. <let...@ya...> - 2005-02-10 03:19:09
|
Hi all, My application dynamically generates xul files and copy them in the chrome/startup directory. Then I use Luxor to render them in a java environment. But once the rendering is done, I would like to delete these xul files. To do so: File file = new file ("chrome/startup/myfile.xul"); boolean b = file.delete(); However, 90% (yes, not 100%) of the times, I cannot delete them and b == false. I suspect, the xul file might be used my a thread or something. However I can delete it manually from the windows explorer... I tried, in vain: while (!file.delete()) {} which loops forever... I also tried to modify the method: XulLoader.load(String name) { { try { T.debug( "loading xul file " + name ); InputStream in = _loader.getResourceAsStream( name ); SAXBuilder builder = new SAXBuilder(); Document doc = builder.build( in ); Element xul = doc.getRootElement(); createElements( null, xul ); T.debug( "xul file " + name + " successfully loaded" ); // Here's my modification... try { in.close(); } catch (IOException ex) { } } catch( JDOMException jex ) { Xul.Error.XUL_PARSING_EXCEPTION( name, jex ); } } ...didn't work either.... Would you have an idea of how to fix this? Cheers, Julien --------------------------------- Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail |