XML
  Home arrow XML arrow Page 3 - UI Design with Java and XML Toolkits
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
VeriSign Whitepapers 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
XML

UI Design with Java and XML Toolkits
By: Dan Wellman
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 7
    2006-09-13

    Table of Contents:
  • UI Design with Java and XML Toolkits
  • Luxor
  • JXUL and SwiXml
  • JAXX and Thinlet

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    UI Design with Java and XML Toolkits - JXUL and SwiXml


    (Page 3 of 4 )

    Because XUL is such an easy to use subset of XML, there have been a lot of projects to incorporate XUL into the Java platform.  One of these projects is: JXUL, designed to create a cross-platform execution engine for XUL, so that it can be used without the need for Mozilla to run, or even be present, on a user's system.  Nothing seems to have happened with this project for some years now, and it seems to have been superseded by Xulux, although very little information exists for this, so what has happened to it now I couldn't say.

    SwiXml is a small GUI generating engine, released under the Apache Software License that uses plain XML files to specify UI components.  It's just 40KB in size, is fast and focuses on just generating GUIs. The XML files are parsed by the generator at runtime and the UI elements described are rendered into javax.swing objects.  You still need to have knowledge of swing (which means you have less to learn if you already know it), but you are able to completely separate the GUI construction from the program logic (which as we all know is a good thing for programmers of any discipline to do). 

    SwiXml was created by Wolf Paulus in 2003, and I'm guessing that no development has been done for a little while as the copyright statement on the SwiXml site reads 2003 - 2005.  Nevertheless, you can download version 1.5 and install it relatively easily.  I found that before it would install correctly, however, I had to add a new environment variable to set the JAVA_HOME variable. 

    To do this on a Windows XP platform, open the control panel, open the System applet, go to the Advanced tab and open Environment Variables. Click the new button and in the Variable field type JAVA_HOME and in the Value field enter C:Program FilesJavajdk1.5.0_08 provided that is where Java is installed (this is separate from the addition to the existing Path variable that you may also have set at some point prior to using SwiXml).  Once this is done, you can unpack the SwiXml zip file and double click the build.bat file to install it, which will create the SwiXml jar file library and you can begin.

    More XML Articles
    More By Dan Wellman


       · Anyone who's worked with Java knows how complex and code-heavy UI construction can...
     

    XML ARTICLES

    - Path, Predicates, and XQuery
    - Using Predicates with XQuery
    - Navigating Input Documents Using Paths
    - XML Basics
    - Introduction to XPath
    - Simple Web Syndication with RSS 2.0
    - Java UI Design with an IDE
    - UI Design with Java and XML Toolkits
    - Displaying ADO Retrieved Data with XML Islan...
    - Widget Walkthrough
    - Introduction to Widgets
    - The Why and How of XML Data Islands
    - Creating an XUL App Installer
    - Overlays in XUL
    - Skinning Your Custom XUL Applications







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway