Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.crosswire.common.swing
Class CWLabel

    java.lang.Object
      org.crosswire.common.swing.CWLabel

    public final class CWLabel

extends Object

CWLabel is a utility class to create JLabels from text with an optional mnemonic indicator. A preceding '_' indicates a mnemonic.

Author:
  DM Smith
See Also:
  `The GNU General Public License for details.`

Constructor Summary
`private` | `CWLabel()` Utility class.

Method Summary
`static JLabel` | `createJLabel(String text)` Construct a JLabel from text.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CWLabel

    private CWLabel()

  Utility class. Prevent instantiation.

Method Detail

### createJLabel

    public static JLabel createJLabel(String text)

  Construct a JLabel from text. A preceding '_' indicates a mnemonic. Mnemonics are ignored on MacOS X.

  Parameters:
    `text` - the text of the label, with an optional mnemonic indicator
  Returns:
    a JLabel

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ¨ 2003-2015
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD