SwiXml, is a small GUI generating engine for Java applications and applets. Graphical User Interfaces are described in XML documents that are parsed at runtime and rendered into javax.swing objects.
Depending on the application, XML descriptors may be deployed
with the remaining code or loaded from a remote server at
runtime. This late binding of the GUI has many advantages.
Enabling features in an application based on a license code or a
user's role does not have to be hard coded anymore. Instead
an XML document describing the application's GUI could be
Generating the GUI based on descriptors also has some of the advantages that code generators provide, but without generating the non-maintainable code.
While SwiXml doesn't free the developer from knowing the javax.swing package, it reduces the amount of repetitive, sometimes error prone, and often complex GUI related code.
Constructing a User Interface based on XML documents is not a totally new idea. Projects like Thinlet, XUL, XULUX, Jelly, and SwingML, to name a few, have successfully proven this concept.
- SwiXml differentiates itself from the rest by focusing completely on javax.swing.
- Programmers who know Swing already can immediately start writing descriptors. No additional XML dialect has to be learned: Class names translate into tag names and method names into attribute names.
- SwiXml is faster since no additional layers had to be added on top of the Swing objects.
- SwiXml is smaller. Despite the fact that the swixml jar file is only about 40 Kbyte in size, almost all of the infamous Swing objects are supported.
- SwiXml does Java Swing GUI generation and that is all. The dynamic behavior of the user interface, defining the application's business rules, has to be coded in Java.
Download Version 1.4 Build 144 of the SwiXml library (incl. Java source code as well as TAG and API documentation.) Does NOT require Java 5.0.
Download Version 1.5 Build 149 of the SwiXml library (incl. Java source code as well as TAG and API documentation.) Requires Java 5.0 or later.
Download Version 1.6 [April 2011] Build 161 of the SwiXml library (incl. Java source code as well as TAG and API documentation.) Requires Java 5.0 or later and supports JGoodie FormLayout.
Download Version 2.0.1 [July 2011] Build 201 of the SwiXml library (incl. Java source code as well as TAG and API documentation.) Requires Java 5.0 or later and supports JGoodie FormLayout.
The open source movement is something new; it's different and doesn't fit neatly into accepted economic theories. Is it sustainable, the beginning of a new economic order, or is it a flash in the pan?
The Swixml.org project accepts donations. Even if you don't own a paypal account, you will be able to donate to the project with a Visa/Mastercard directly, following the same link.
The donations will be help to maintain the project and infrastructure.