Swing GUI Builder and Java Framework using XML
License & Purchase


The JEasy Templates

To go the first steps, JEasyTemplates are offered including a GUI and corresponding java sources. A template is part of the download and we will offer new ones here on this page.
The JEasyTamplateA consist of some images, xml files and java sources. Please import the file structure to your IDE and start working with the JEasyRepository and writing your program.

The easiest way to start with jeasy is beginning with a template.
It includes a standard GUI with menu, toolbar, statusbar, tree and tabbedpane.
Use the panelA or panelB to get experienced in designing forms in different layouts.
File What is it good for
Main.java Here the programm is started. The file JEasyRepository.xml is loaded and the components are built. The source implements starting the programm as an applcation by Java Web Start or as an applet.
CallBack.java The first instance to get all events of the jeasy components and to initialize your application. Inside the method initJECallBack() the status bar is build and the object client is created.
Important is the method callBack(AWTEvent e, String id). If there is no other source registrated for events they will be fetched by this callBack.
For example the windowe closing event will call the exitApplication() method. All menuitems and buttons will throw an ActionPerfomed event. The callBack looks for a method with the name of the jaesy id and will call this method.
That's a comfortable way because the only thing to do is to write a method like MI_Open() inside client.java. No event registration is necessary
Client.java Your programm to implement most of the eventhandlings.
The toolbar buttons and menuitems should have a corresonding method here.
Mouse and document events are passed from the CallBack.java.
Every event has allways the jeasy id as a parameter.
To be able writing code in a team, events from differnent panels of your application can be handled by own sources.
Therefore the client make instances of them at the beginning.
CallBackAdresses.java That is an example of a separatable functionality inside the application. This source handles all events that are thrown by the panel adress form and its children.
To get these events, the class has to register itself for a panel JEUtil.registerJECallBack(this, JEIds.PA_ADRMAIN); Such a source allways extends DefaultJECallback. So, only needed callBack's have to be implemented.
The function of this part of the application is to handle adress data. For input verifiying the callBackInputVerifier is used. Everey time a field will be loose the focus, either by tab or mouse click in another field, this callBack is called.
standard messages are shown to the user. Return false, if the input is not accepted.
JEIds.java The JEasyRepository exports all jeasy id's into this source. See menu Tools/List object id's.
Allways use these constants to get a JEeasy object.
Example: if (id.equals(JEIds.DF_ADRSEARCH)) ...
GUIUtils.java A lot of functions you will need in any applications. This source should contain all these basics.
To get out a message to the user you may use the method say(...). It opens an JEOptionPane that is defined in the JEasyRepository.

DefaultJECallBack.java This class extends JECallBack, where all possible event types are defined.
To handle an event in your source, your class has to extend the DefaultJECallBack. Then copy the methods you need and implement the handling inside.