Abstract Base Class for a dialog with standard layout, buttons, and behavior.
Use of this class will apply a standard appearance to dialogs in the application.
Subclasses implement the body of the dialog (wherein business objects are manipulated), and the action taken by the OK
button. Aside from creating the dialog's contentj with {@link #createDialogContentPane()}, a proper disposing should be implemented in {@link #disposeDialogContentPane()}.
Services of a ApplicationDialog
include:
OK
and Cancel
buttons at the bottom of the dialog -OK
is the default, and the Escape
key activates Cancel
(the latter works only if the dialog receives the escape keystroke, and not one of its components)
|
|
|
|
|
|