org.crosswire.common.swing
Class CWLabel
java.lang.Object
org.crosswire.common.swing.CWLabel
public 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 [dmsmith555 at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Constructor Summary |
private |
CWLabel()
Utility class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CWLabel
private CWLabel()
- Utility class. Prevent instantiation.
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