RE: [luxor-xul-develop] Using css to set font props in Swing app
Status: Beta
Brought to you by:
vamp201
From: Gerald B. <ge...@va...> - 2003-12-23 23:17:44
|
Hello Dale, >> Can you post an example of what you're trying to >> achieve? > > Sure... > > <label value="Welcome to the Installer" > style="font-size: 10; font-style: > normal; font-family: arial" /> > <button label="Next" style="font-size: 10; > font-weight: bold; font-family: > sans-serif" /> > > It seems that these styles don't work on Swing apps. Thanks for the example. As you already found out Luxor currently supports only the all-in-one font property. > I have an open source project (judy.jini.org) that > requires significant > configuration to run properly. Since it is open > source, I don't want to > rely on the "free" versions of the commercial > installers. That lead to some > investigations of open source installers out there. > Unfortunately, I was > disappointed with the lack of features in the few > that I found, and almost > all of them were difficult to use or extend. I > temporarily decided to use > IzPack (www.izforge.com/izpack/). It can do some > very simple installations, > however, configuring a Jini service can get quite > involved and I realized I > could write some Ant scripts to fill in the missing > functionality. > Unfortunately, the project owner objected to that > use of the izpack code. I > considered how long it would take to implement calls > to Ant scripts and the > difficulty in maintaining a fork and decided to look > elsewhere. I looked at > Jelly, was very impressed, but didn't like the > dependency on Maven. I > finally came across XUL and Luxor and realized I had > a great match. > > So far, I've implemented very basic features for > loosely coupling XulActions > to xul components. I'm able to define simple > screens that navigate back and > forth (which can be dynamically reloaded to pick up > changes made to the XUL > source files) and I did it with about 30 hours of > coding! As I progress, I > plan on implementing an AntScriptAction that calls > Ant scripts and various > other convenience actions (like enabling/disabling > other buttons). Frankly, > I think I've accomplished more in a shorter time > frame by building it around > XUL than it would have taken to enhance any other > installer product. > > The installer is open source licensed under the CPL. > I will be hosting the > project on java.net, but am more interested in > getting it working for my > Jini project first ;-) If anyone else is interested > in contributing, I can > put it up now! Whow. That sounds fantastic. I can't wait to see it. I will do all I can to promote it. I invite you to keep us up-to-date. I also invite you to zip up your sources and send them to my private email address (that is, ge...@va...) and I'll add your package to luxor-contrib right away and start promoting it. > Would you object to Installux for > the project name > considering the closeness to Luxor? No, go ahead. Since your project is open source you have my full support. You might also consider naming it Install Luxe or Installer DeLuxe or similar. Keep it up. Great stuff. - Gerald |