public class DialogSupport extends Object
Constructor and Description |
---|
DialogSupport() |
Modifier and Type | Method and Description |
---|---|
static void |
addEscapeAction(JDialog dialog)
Add keyboard listener which will close the dialog on escape key
|
static JLabel |
createBigLabel(String text) |
static JCheckBox |
createCheckBox(boolean selected,
String text) |
static JComboBox |
createComboBox(String[] values) |
static JLabel |
createDescriptionLabel(String text) |
static JLabel |
createDescriptionLabelWithIcon(String text,
Icon icon) |
static JLabel |
createLabel(String text) |
static JRadioButton |
createRadioButton(boolean selected,
String text) |
static JTextField |
createTextField(String defaultText) |
static JLabel |
createUnderscoredLabel(String text) |
public static JLabel createDescriptionLabelWithIcon(String text, Icon icon)
public static JTextField createTextField(String defaultText)
public static JRadioButton createRadioButton(boolean selected, String text)
public static void addEscapeAction(JDialog dialog)
dialog
- Copyright © 2019. All rights reserved.