The view that opens up is a split view with visual design window above and below its editor window. We see that Jigloo already has created a lot of code. Along that a new package has been created with name com.cloudspace.resource. This package contains generated class SWTResourceManager. As the name implies, this class contains SWT resource such as fonts, colors and images. Jigloo provides liberty to change the SWTResourceManager for changing settings for the fonts or colors that will be used by the application.
The visual designer with its toolbar tabs and code editor shown on same perspective makes it easier to design and edit the corresponding changes simultaneously
Let's start using the visual designer. It has a toolbar on the top, which contains various visual components for the application. From the Controls tab we can directly drag/drop the controls over the container. Let's place two labels, two textboxes and a button. The GUI Properties tab shows the properties that are related to the selected component on the container. The values set here get reflected on the code and the visual design on the fly. The toolbar also has tabs for containers, whereby containers for the application could be selected. Similarly the Layout tab allows selecting the layout that we want to choose. The left bar of the visual designer has various alignment options and with these the controls on the container can be aligned. Jigloo also makes the event handling for the components easy. You just have to select the component for which you want to write the event, and then under the Events tab select the appropriate listener and then its handler. In our case we will select the button and mouse event listener for the Submit button.
Lastly, we can also preview the UI by clicking the Preview option on the right panel.
Conclusion For Java developers, Jigloo can lead to substantial time savings, as it offers GUI to perform development and maintenance tasks, easily.
The Event Listeners related to the selected component can be selected and added to the application
Get most out of your technology infrastructure investments with Dell
About CIOL | Media Kit | Site Map | Contact Us | Help | Write to us | Jobs@CyberMedia | Privacy Policy
Copyright © CyberMedia India Online Ltd. All rights reserved. Usage of content from web site is subject to Terms and Conditions.