| java.lang.Object uk.co.whisperingwind.framework.Dialogs
Dialogs | public class Dialogs (Code) | | Class contains static methods to display JOptionPane message
dialogs. In all cases, the JOptionPane dialog is opened in the
event dispatch thread.
|
getConfirm | public static int getConfirm(String title, String text)(Code) | | Show a yes/no/cancel dialog and return the result.
|
getOption | public static int getOption(String title, String text, Object[] options, Object defaultOption)(Code) | | Show an option dialog and return the result.
|
showError | public static void showError(String title, String text)(Code) | | Show an error dialog.
|
showInformation | public static void showInformation(String title, String text)(Code) | | Show an information dialog.
|
showWarning | public static void showWarning(String title, String text)(Code) | | Show a warning dialog.
|
|
|