Customize a JLabel Look and Feel with properties in Java

Description

The following code shows how to customize a JLabel Look and Feel with properties.

Example


/*w  w  w  .j a  v  a  2  s .c o m*/
Property String          Object Type
Label.actionMap          ActionMap
Label.background         Color
Label.border             Border
Label.disabledForeground Color
Label.disabledShadow     Color
Label.font               Font
Label.foreground         Color
LabelUI                  String




















Home »
  Java Tutorial »
    Swing »




Action
Border
Color Chooser
Drag and Drop
Event
Font Chooser
JButton
JCheckBox
JComboBox
JDialog
JEditorPane
JFileChooser
JFormattedText
JFrame
JLabel
JList
JOptionPane
JPasswordField
JProgressBar
JRadioButton
JScrollBar
JScrollPane
JSeparator
JSlider
JSpinner
JSplitPane
JTabbedPane
JTable
JTextArea
JTextField
JTextPane
JToggleButton
JToolTip
JTree
Layout
Menu
Timer