What is xml2gui?

Xml2Gui is a framework that can be used to create your swing interface in XML. Graphical user interfaces are ideal to represent in XML because of its hierarchical structure.

On top of that, xml2GUI includes packages for validation, data (both xml data and object data are supported) and layout.

The base consists of one xml-file and the controller. As you can see, we have embraced the MVC pattern. Now there is a clean separation between the view, the controller and the model. The view is our xml-file, the controller is a java file and the model is an xml or object data source.

This project was first created as a school project by Stijn Gysemans but was later extended. The first release was in June 2004 and the second major release was in June 2005.

New: Xml2gui live in action!

video demo

Click here to download the video (112 mb wmv).


Why generate

Writing N-tier appications is often reduced to writing the same code day in day out: CRUD-statements per table (create, retrieve, update and delete); The mapping of a business logic to a relational system; The GUI for implemting those CRUD-statements.

We can reduce this code by making the problem more abstract en generalize it.

How do we solve this problem:

Our solution