| | |
| | | private static final HashMap<IconType, ImageIcon> hmIcons = |
| | | new HashMap<IconType, ImageIcon>(); |
| | | |
| | | static { |
| | | UIManager.put("OptionPane.background",Color.WHITE); |
| | | UIManager.put("Panel.background",Color.WHITE); |
| | | } |
| | | |
| | | /** |
| | | * The following enumeration contains the different icons that we can have. |
| | | * |
| | |
| | | TextStyle style) |
| | | { |
| | | JRadioButton rb = new JRadioButton(); |
| | | |
| | | rb.setOpaque(false); |
| | | if (text != null) |
| | | { |
| | | rb.setText(text); |
| | |
| | | TextStyle style) |
| | | { |
| | | JCheckBox cb = new JCheckBox(); |
| | | |
| | | cb.setOpaque(false); |
| | | if (text != null) |
| | | { |
| | | cb.setText(text); |