javax.swing.plaf.basic.BasicLabelUI Java Examples

The following examples show how to use javax.swing.plaf.basic.BasicLabelUI. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TagTree.java    From jpexs-decompiler with GNU General Public License v3.0 5 votes vote down vote up
public TagTreeCellRenderer() {
    setUI(new BasicLabelUI());
    setOpaque(false);
    //setBackground(Color.green);
    setBackgroundNonSelectionColor(Color.white);
    //setBackgroundSelectionColor(Color.ORANGE);

}
 
Example #2
Source File: GenericTagTreePanel.java    From jpexs-decompiler with GNU General Public License v3.0 4 votes vote down vote up
public MyTreeCellRenderer() {
    setUI(new BasicLabelUI());
    setOpaque(false);
    setBackgroundNonSelectionColor(Color.white);
}
 
Example #3
Source File: DumpTree.java    From jpexs-decompiler with GNU General Public License v3.0 4 votes vote down vote up
public DumpTreeCellRenderer() {
    setUI(new BasicLabelUI());
    setOpaque(false);
    setBackgroundNonSelectionColor(Color.white);
}