[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: MetalLookAndFeel.initComponentDefaults()
From: |
David Gilbert |
Subject: |
[cp-patches] FYI: MetalLookAndFeel.initComponentDefaults() |
Date: |
Wed, 12 Oct 2005 17:50:45 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.6 (X11/20050728) |
I committed this patch to add the FileView icon defaults - these will be used in the
MetalFileChooserUI when it is done:
2005-10-12 David Gilbert <address@hidden>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): added defaults for FileView.
Regards,
Dave
Index: javax/swing/plaf/metal/MetalLookAndFeel.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,v
retrieving revision 1.63
diff -u -r1.63 MetalLookAndFeel.java
--- javax/swing/plaf/metal/MetalLookAndFeel.java 12 Oct 2005 12:14:55
-0000 1.63
+++ javax/swing/plaf/metal/MetalLookAndFeel.java 12 Oct 2005 16:45:10
-0000
@@ -856,6 +856,11 @@
"FormattedTextField.selectionBackground", getTextHighlightColor(),
"FormattedTextField.selectionForeground", getHighlightedTextColor(),
+ "FileView.computerIcon", MetalIconFactory.getTreeComputerIcon(),
+ "FileView.directoryIcon", MetalIconFactory.getTreeFolderIcon(),
+ "FileView.fileIcon", MetalIconFactory.getTreeLeafIcon(),
+ "FileView.floppyDriveIcon", MetalIconFactory.getTreeFloppyDriveIcon(),
+ "FileView.hardDriveIcon", MetalIconFactory.getTreeHardDriveIcon(),
"InternalFrame.activeTitleBackground", getWindowTitleBackground(),
"InternalFrame.activeTitleForeground", getWindowTitleForeground(),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: MetalLookAndFeel.initComponentDefaults(),
David Gilbert <=