38 |
|
|
39 |
package javax.swing.plaf.metal; |
package javax.swing.plaf.metal; |
40 |
|
|
41 |
|
import java.awt.Color; |
42 |
|
import java.awt.Font; |
43 |
import java.awt.Insets; |
import java.awt.Insets; |
44 |
|
|
45 |
import javax.swing.ImageIcon; |
import javax.swing.ImageIcon; |
807 |
"Tree.leafIcon", MetalIconFactory.getTreeLeafIcon(), |
"Tree.leafIcon", MetalIconFactory.getTreeLeafIcon(), |
808 |
"Tree.collapsedIcon", MetalIconFactory.getTreeControlIcon(true), |
"Tree.collapsedIcon", MetalIconFactory.getTreeControlIcon(true), |
809 |
"Tree.expandedIcon", MetalIconFactory.getTreeControlIcon(false), |
"Tree.expandedIcon", MetalIconFactory.getTreeControlIcon(false), |
810 |
|
"Tree.font", new FontUIResource(new Font("Helvetica", Font.PLAIN, 12)), |
811 |
|
"Tree.background", new ColorUIResource(Color.white), |
812 |
|
"Tree.foreground", new ColorUIResource(new Color(204, 204, 255)), |
813 |
|
"Tree.hash", new ColorUIResource(new Color(204, 204, 255)), |
814 |
|
"Tree.leftChildIndent", new Integer(7), |
815 |
|
"Tree.rightChildIndent", new Integer(13), |
816 |
|
"Tree.rowHeight", new Integer(20), |
817 |
|
"Tree.scrollsOnExpand", Boolean.TRUE, |
818 |
|
"Tree.selectionBackground", new ColorUIResource(new Color(204, 204, 255)), |
819 |
|
"Tree.nonSelectionBackground", new ColorUIResource(Color.white), |
820 |
|
"Tree.selectionBorderColor", new ColorUIResource(new Color(102, 102, 153)), |
821 |
|
"Tree.selectionForeground", new ColorUIResource(Color.black), |
822 |
|
"Tree.textBackground", new ColorUIResource(new Color(204, 204, 255)), |
823 |
|
"Tree.textForeground", new ColorUIResource(Color.black), |
824 |
|
"Tree.selectionForeground", new ColorUIResource(Color.black), |
825 |
"PopupMenu.border", new MetalBorders.PopupMenuBorder() |
"PopupMenu.border", new MetalBorders.PopupMenuBorder() |
826 |
}; |
}; |
827 |
defaults.putDefaults(myDefaults); |
defaults.putDefaults(myDefaults); |