Smart JSwing - Online Demo & Image Preview

What is Smart JSwing?

It is a pure Java class library with the following components:

  • Calendar - it has both date and time editing controls. User can select a date as well as a time of a day using its easy to use UI controls. You can dynamically change the controls current value by using its setters at run time. Allows you to query the date and time in milliseconds as well as you can pick the parts of the milliseconds, e.g. getDay(), getYear(), getHour() etc.
  • Time - an independent time entry control (also used as part of the Calendar control discussed above) that allows user to edit time from its hour, minute, second, and AM/PM fields. A single spin control allows you to change the fields values. You can eiter use the spin control to change the values or directly edit the value in each field. All fields are validated so that no invalid values can be entered. You can programatically change the controls value like you do for the above mentioned calendar component.
  • IP Address - allows you to edit IP address using this control. It shows a control similar to the IP address editing control used in Microsoft Windows platform. The IP address control has its won model that allows you to dynamically update the controls value and to query the segment values.
  • Multithreaded multipart progress Component - a custom swing component used for showing progress of multiple tasks together as one task and overall progress. Total progress if 60%, can be presented to show as sum of progress made from task-a (20%), task-b (10%) and task-c (30%). Each task is rendered with legends (background, foreground) and labels.
  • Progress Window - is a multithreaded progress dialog window can be used for any GUI activity that takes some time to finish. It shows a progress in % and text lines as messages from the background process busy in doing something. Because it is a multi-threaded control (which is always painful things for one to develop a new one), your GUI remains active while the progress is reported. This progress window can be customized from your program by setting the control labels, whether or not it should be closed after the progress is 100% completed, display messages send from the background process etc.
  • Wizard Dialog - used for showing many different components into a single window. User can move across different components using its 'Next', 'Previous', 'Finish', 'Ok', 'Help' and 'Apply' buttons. One or more of these buttons can be set to visible or non-visible from your programs. You have to pass a bunch of components and each of which is displayed when user press next/previous. You can also perform next/previous programmatically.