Sun Java Desktop Article: Roll-Your-Own Mini XUL Motor For Swing

Gerald Bauer <[email protected]>
Newsgroups gmane.comp.lang.xul.announce
Message-ID <[email protected]>
Hi,

  Mark Davidson wrote a tech paper titled "An Easy
Architecture for Managing Actions: Simplifying the
Creation of Tool Bars and Menus" that shows you how to
reinvent the toothbrush by rolling your own mini XUL
motor using the Swing UI toolkit.

  Mark kicks off his XUL testimonial as follows:

  <quote>
   When constructing a large application with deep
menu trees, many tool bars and popup menus, ensuring
that the properties are set correctly on each control
is quite tedious, error prone and somewhat fragile
when requirements change. 
  </quote>

  And comes up with the novel idea of using XML
instead of hard-coding everthing in
close-to-the-metal, sub-atomic Java APIs.
       
  To try out his idea Mark hacks together a small text
editor that builds its menu, toolbar and popup menu on
the fly using XML.

  Full story @
http://www.javadesktop.org/articles/actions

  You can kick off Mark's text editor demo using Web
Start @
http://www.javadesktop.org/articles/actions/ActionDemo2.jnlp

   - Gerald

---------------------------------------
XUL News Wire - Subscribe/Unsubscribe @ 
http://lists.sourceforge.net/lists/listinfo/xul-announce
---------------------------------------


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.