Swing TaskDialog 1.1 release


Today I’m announcing the immediate availability of TaskDialog library version 1.1

This release includes several requested enchacements and fixes to the reported issues.
Information on issue fixes is available in the issue tracker, so I will concentrate on the enhancements.

Command Wait Intervals

Command Wait Intervals were discussed in a previous post and are now a permanent feature of the library

Ability to conditionally enable/disable commands

This feature will allow adding simple validation to more complex task dialogs. It is based on the IValidationListener interface which is implemented by commands and other internal components. This simply means that they are able to react on validation events triggered by TaskDialog’s fireValidationFinished method.
For example, a panel with several fields can be set as a fixed dialog component. As the field content is changing, the panel may trigger validation events based on it’s internal logic, effectively disabling the OK command if the data is invalid. Here is how such a code may look:


boolean validationResult = ...// your business logic here
TaskDialof dlg = TaskDialog.getInstance(this); //find the task dialog panel belongs to
dlg.fireValidationFinished( validationResult );

The new library version is available immediately.

As always… Your comments and suggestions are welcome
The project is available at http://code.google.com/p/oxbow under BSD license.

Advertisements

6 comments

  1. Pingback: Java desktop links of the week, June 21 | Jonathan Giles

  2. Hi Eugene,

    Maybe you got a german translation, but if not:
    task-dialog_de_DE.properties
    OK=OK
    Cancel=Abbrechen
    Close=Schließen
    Yes=Ja
    No=Nein
    MoreDetails=Weitere Details
    FewerDetails=Weniger Details
    Details=Details
    Information=Information
    Error=Fehler
    Question=Frage
    Warning=Warnung
    Exception=Ausnahme
    Choice=Auswahl
    Select=Auswählen

    Thanks for your work. 🙂


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s