XML
  Home arrow XML arrow Page 4 - 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
     
    Iron Speed
     
    ADVERTISEMENT

    At the virtual BlackBerry Technical Seminar 2008, you can ask your development questions directly of Research In Motion® (RIM) experts, and take advantage of learning opportunities designed uniquely for BlackBerry solution developers. Register Today!

    UI Design with Java and XML Toolkits - JAXX and Thinlet


    (Page 4 of 4 )

    JAXX (it doesn't actually stand for anything but you can guess at a glance that Java and XML are involved) is probably the best toolkit in terms of documentation; there is an excellent, well produced, well maintained and most importantly, recently updated web site at http://www.jaxxframework.org/ which gives you everything you need to know to begin creating UIs with JAXX. There is a thorough installation guide and some excellent tutorials to get you started and a live forum for if you get stuck and need some assistance. 

    One of the things that makes JAXX so useful is its powerful CSS support which enables the skinning of applications via simple style sheets.  It is very easy to get started with JAXX; I was able to run through the tutorials and get results on screen very quickly.  My experiment GUIs didn't actually do anything as there was no underlying Java to make things work, but it was good just to get something to actually launch. It's easy to look through the example applications provided to see what is going on and how to use the different tags effectively. Out of all of the toolkits I looked at, this was without doubt the easiest to begin using.

    Thinlet is another well know Java and XML UI toolkit that differentiates from some of the previous examples by avoiding swing altogether and using the abstract window toolkit (AWT) instead. AWT is an older set of UI designing widgets that swing was developed to replace.  One of the key differences between AWT and swing is the nature of how each toolkit renders the various GUI elements, with swing providing more consistency across any platform as opposed to AWT relying more on the underlying OS implementation. 

    What Thinlet does is provide an extremely small toolkit that excels at creating relatively simple interfaces, when the complexity of some swing components can be avoided. The documentation for Thinlet is quite good, providing a local copy of what can be found on the Thinlet website (www.thinlet.com), including details of the widgets themselves and the API. There are some examples included in the documentation (including an excellent Amazon browser) that you can fire up and look at to get an idea of how things work. 

    Thinlet is free and open source for anyone from enthusiasts to commercial enterprises and was released under the GNU Lesser Public License.  There are some extensive Thinlet tutorials out there, but the documentation included requires a working knowledge of Java and presumes familiarity with class compilation, CLASSPATH variables and more so this is probably not best suited to newcomers to Java application programming. People that already have a working knowledge of Java may be attracted to Thinlet's simplicity.

    These are just some of the available resources out there for building XML based GUIs for your Java applications, providing an easily maintainable application with a completely separate presentation layer.  You can save valuable development time this way, and there are a variety of toolkits you can use depending on what suits you and your experience level.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · 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


    Iron Speed





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