| | |
| | | getColor(INFO_PASSWORDFIELD_COLOR.get()); |
| | | |
| | | /** |
| | | * Specifies the in-line help text color. |
| | | */ |
| | | public static final Color INLINE_HELP_COLOR = |
| | | getColor(INFO_INLINE_HELP_COLOR.get()); |
| | | |
| | | /** |
| | | * Specifies the panel border color. |
| | | */ |
| | | public static final Color PANEL_BORDER_COLOR = |
| | |
| | | */ |
| | | public static final Font ERROR_DIALOG_FONT = defaultFont; |
| | | |
| | | /** |
| | | * Specifies the font for the text in the in-line help. |
| | | */ |
| | | public static final Font INLINE_HELP_FONT = defaultFont.deriveFont( |
| | | (float)(defaultFont.getSize() - 2)); |
| | | |
| | | private static final String SPAN_CLOSE = "</span>"; |
| | | |
| | | private static final String DIV_CLOSE = "</div>"; |
| | |
| | | */ |
| | | INSTRUCTIONS, |
| | | /** |
| | | * In-line help style. |
| | | */ |
| | | INLINE_HELP, |
| | | /** |
| | | * No text style. |
| | | */ |
| | | NO_STYLE |
| | |
| | | l.setForeground(PASSWORDFIELD_COLOR); |
| | | break; |
| | | |
| | | case INLINE_HELP: |
| | | l.setFont(INLINE_HELP_FONT); |
| | | l.setForeground(INLINE_HELP_COLOR); |
| | | break; |
| | | |
| | | case NO_STYLE: |
| | | // Do nothing |
| | | break; |