GUI Examples
The examples shown here are created for you to become more familar with this GUI
builder IDE. You will get to the GUI definitions from within the SpeedJG
application by opening the project ${YourPathToSpeedJG}/Examples.gpr.
We will enlarge this section by and by. Thus you are invited to visit this page
from time to time and look if you find a topic of your interest.
| Building an XML Tree View Application |
XML Tree View |
|
To exemplify the easy usage of XML, we will show you how to develop a basic
XML file viewer. This is done
- by using the SpeedJG XML classes, and
- by means of an XMLTreeModel implementation based on the W3C DOM.
|
|
| Changing the contents of an XML-based JTree |
XML Tree Edit |
|
This example is intended to show you how to work with JTrees based on XML. It demonstrates
- how to add XML elements to a JTree
- how to remove XML elements from a JTree and
- how to modify the screen presentation of an XML based JTree.
This is done
- by using the SpeedJG XML classes, and
- by means of an XMLTreeModel implementation based on the W3C DOM.
|
|
| Providing a Multilingual GUI |
Multilingual GUI |
|
When generating code SpeedJG strictly follows the MVC approach
by separating the GUI (view) code from the controller code and
the model code, which is up to you as the developer.
To take advantage of this separation, we will show how to easily implement
a multilingual application by passing an entire GUI to a translator
class that adjusts all text properties according to the language
the user prefers.
|
|