XML
  Home arrow XML arrow Java UI Design with an IDE
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  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
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

Java UI Design with an IDE
By: Dan Wellman
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 10
    2006-09-20

    Table of Contents:
  • Java UI Design with an IDE
  • ThinG
  • Abielle Forms Designer
  • SpeedJG
  • JFormDesigner

  • 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


    Java UI Design with an IDE


    (Page 1 of 5 )

    There are at least two ways to approach building an application that combines Java and XML. One involves using a toolkit; that was covered in last week's article. In this second of two parts, you'll learn what is available for the second approach: using an integrated development environment.

    In a recent article, I looked at some of the available UI toolkits that use XML to define an application user interface and Java as the program logic. Combing Java and XML in this way has many benefits, but using the toolkits can be tricky due to poor documentation and non-standard implementations. In addition to the large number of UI toolkits, there are also some great applications and WYSIWYG applications aimed at giving you a more visual approach to creating XML interfaces and making the whole process of development easier. This is what this article is going to focus on. Using XML with Java is a great way of specifying an application's user interface and using a GUI editor is a great way to achieve it.

    XAMJ is a fairly new specification. It makes use of a browser application called Warrior. Warrior is an open source browser/platform that renders .xamj documents in the same way that your HTML browser is rendering this page. It is a very current project; it was last updated just a couple of months ago and the last application update was August 6, so this is very much an initiative in progress as we speak. XAMJ (Xml Application Markup for Java) is a strict XML based mark-up language that was proposed to provide a method of constructing rich Internet applications and possibly, of replacing HTML. To begin using XAMJ, all you need to do is download Warrior (which comes in the form of a jar file). Once Warrior is installed, you can create .xamj files using a standard text editor; these files can then run as either standalone applications or within Warrior itself.

                   

    The application UI is manufactured from a set of very simple XML tags that will be familiar to most developers, using standard tags like <hbox> or <button> for example. Java code can then be inserted into special declaration tags (<decl>) to power the application from within, although make your own mind up as to what this does for the separation of presentation and program logic. Normal Java class files can also be used, however, if needed as well. This method of UI design seems like an excellent way for beginners to get into using XML and Java for application development; all you need do is install Warrior and you can begin experimenting. There is some good documentation including some excellent tutorial material at Http://xamjwg.org/index.xamj (which can be viewed in Warrior or a standard web browser of your choice). Overall, this was very easy and quick to use.

    More XML Articles
    More By Dan Wellman


       · Hi,The applications looked at in this article form a more integrated and visual...
     

    XML ARTICLES

    - Using Regions with XSL Formatting Objects
    - Using XSL Formatting Objects
    - More Schematron Features
    - Schematron Patterns and Validation
    - Using Schematron
    - Datatypes and More in RELAX NG
    - Providing Options in RELAX NG
    - An Introduction to RELAX NG
    - 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







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    Stay green...Green IT