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

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `private` | `CWLabel()` Utility class.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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