Brains2b.ORG

SwingExtDialog 0.99

stable

library

SwingExtDialog is a package of complete Panes which can be used as dialogs or internal frames in a GUI application to provide some basic functionality in an application. This is an overhaul of the old FrameworkDialog package which has been abondend

Full description

    SwingExtDialog supplies the following functionality:
  • ConnectionPane: Add, removed, edit connection information to databases and select a JDBC connection for use in your application
  • AboutPane: A small Pane to give information about the application, such as version, author, logo, contributors and licensing information.
  • CalendarPane: Select a date from a Calendar
  • EditorPane: A simple wrapper around JEditorPane to show text which is too long to enter into a normal field. You can set the maximum text length for this component so one cannot enter more text than the application can store
  • FontChooserPane: Let a user select a Font, size and style from the Fonts available to Java. The Pane gives you a preview of how the font looks
  • PreferencePane: Pane that makes properties for an application into options people can edit personally. It will take the properties file and either predicts or has been told which kind of editing option should be supplied for a key. It can make automatic tab pages for properties which have been grouped. If the key contains Font and/or the value is parseable as a Font the Font selection screen will be supplied, if it is a Color, color selection will be provided. True/False will turn into a checkbox. You can also set the selection option for a key manually. Options are: Font,Color,File,List (last one adds a Mutable JList to add,edit and remove values from a list) or add a limited amount of options to a key.
  • Files
    namedatezipzip (source)tar.gztar.gz (source)
    SwingExtDialog09-07-2007SwingExtDialog-0.99.zipSwingExtDialog-src-0.99.zipSwingExtDialog-0.99.tar.gzSwingExtDialog-src-0.99.tar.gz

    Note: If you want to make a quick start download the .zip or .tar.gz file. It includes the compiled jar and possible dependencies. The sources contains the sources for this specific project and the compiled libraries listed as dependencies.

    Dependencies

    language:

    java 1.4+

    Limits

    To Do

    Known Issues

    • Better documentation
    • Add FindPane: General text search option

    Using SwingExtDialog

    How to use

    The Panes in this package can all be called by the static methods showDialog(...) or showInternalDialog(...) from the Pane itself or by creating by instantiating the Pane, for example:
    CalendarPane c = new CalendarPane(Calendar.getInstance());
       DialogHelper.showDialog(parent, c); //we're waiting here
       Date d= c.getDate();
    	
    

    Reference implementation/examples

    releases

    SwingExtDialog 0.99

    • first release under its new name