< prev index next >

src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/WindowsLookAndFeel.java

Print this page




 725                }),
 726 
 727             // DesktopIcon
 728             "DesktopIcon.width", Integer.valueOf(160),
 729 
 730             "EditorPane.font", ControlFont,
 731             "EditorPane.background", WindowBackgroundColor,
 732             "EditorPane.foreground", WindowTextColor,
 733             "EditorPane.selectionBackground", SelectionBackgroundColor,
 734             "EditorPane.selectionForeground", SelectionTextColor,
 735             "EditorPane.caretForeground", WindowTextColor,
 736             "EditorPane.inactiveForeground", InactiveTextColor,
 737             "EditorPane.inactiveBackground", WindowBackgroundColor,
 738             "EditorPane.disabledBackground", DisabledTextBackground,
 739 
 740             "FileChooser.homeFolderIcon",  new LazyWindowsIcon(null,
 741                                                                "icons/HomeFolder.gif"),
 742             "FileChooser.listFont", IconFont,
 743             "FileChooser.listViewBackground", new XPColorValue(Part.LVP_LISTVIEW, null, Prop.FILLCOLOR,
 744                                                                WindowBackgroundColor),
 745             "FileChooser.listViewBorder", new XPBorderValue(Part.LVP_LISTVIEW,
 746                (LazyValue) t -> BorderUIResource.getLoweredBevelBorderUIResource()),
 747             "FileChooser.listViewIcon",    new LazyWindowsIcon("fileChooserIcon ListView",
 748                                                                "icons/ListView.gif"),
 749             "FileChooser.listViewWindowsStyle", Boolean.TRUE,
 750             "FileChooser.detailsViewIcon", new LazyWindowsIcon("fileChooserIcon DetailsView",
 751                                                                "icons/DetailsView.gif"),
 752             "FileChooser.viewMenuIcon", new LazyWindowsIcon("fileChooserIcon ViewMenu",
 753                                                             "icons/ListView.gif"),
 754             "FileChooser.upFolderIcon",    new LazyWindowsIcon("fileChooserIcon UpFolder",
 755                                                                "icons/UpFolder.gif"),
 756             "FileChooser.newFolderIcon",   new LazyWindowsIcon("fileChooserIcon NewFolder",
 757                                                                "icons/NewFolder.gif"),
 758             "FileChooser.useSystemExtensionHiding", Boolean.TRUE,
 759 
 760             "FileChooser.usesSingleFilePane", Boolean.TRUE,
 761             "FileChooser.noPlacesBar", new DesktopProperty("win.comdlg.noPlacesBar",
 762                                                            Boolean.FALSE),
 763             "FileChooser.ancestorInputMap",
 764                new UIDefaults.LazyInputMap(new Object[] {
 765                      "ESCAPE", "cancelSelection",
 766                      "F2", "editFileName",
 767                      "F5", "refresh",
 768                      "BACK_SPACE", "Go Up"
 769                  }),
 770 
 771             "FileView.directoryIcon", SwingUtilities2.makeIcon(getClass(),
 772                                                                WindowsLookAndFeel.class,
 773                                                                "icons/Directory.gif"),
 774             "FileView.fileIcon", SwingUtilities2.makeIcon(getClass(),
 775                                                           WindowsLookAndFeel.class,
 776                                                           "icons/File.gif"),
 777             "FileView.computerIcon", SwingUtilities2.makeIcon(getClass(),
 778                                                               WindowsLookAndFeel.class,
 779                                                               "icons/Computer.gif"),
 780             "FileView.hardDriveIcon", SwingUtilities2.makeIcon(getClass(),
 781                                                                WindowsLookAndFeel.class,
 782                                                                "icons/HardDrive.gif"),
 783             "FileView.floppyDriveIcon", SwingUtilities2.makeIcon(getClass(),
 784                                                                  WindowsLookAndFeel.class,
 785                                                                  "icons/FloppyDrive.gif"),


 786 
 787             "FormattedTextField.font", ControlFont,
 788             "InternalFrame.titleFont", WindowFont,
 789             "InternalFrame.titlePaneHeight",   TitlePaneHeight,
 790             "InternalFrame.titleButtonWidth",  TitleButtonWidth,
 791             "InternalFrame.titleButtonHeight", TitleButtonHeight,
 792             "InternalFrame.titleButtonToolTipsOn", hotTrackingOn,
 793             "InternalFrame.borderColor", ControlBackgroundColor,
 794             "InternalFrame.borderShadow", ControlShadowColor,
 795             "InternalFrame.borderDarkShadow", ControlDarkShadowColor,
 796             "InternalFrame.borderHighlight", ControlHighlightColor,
 797             "InternalFrame.borderLight", ControlLightColor,
 798             "InternalFrame.borderWidth", WindowBorderWidth,
 799             "InternalFrame.minimizeIconBackground", ControlBackgroundColor,
 800             "InternalFrame.resizeIconHighlight", ControlLightColor,
 801             "InternalFrame.resizeIconShadow", ControlShadowColor,
 802             "InternalFrame.activeBorderColor", new DesktopProperty(
 803                                                        "win.frame.activeBorderColor",
 804                                                        table.get("windowBorder")),
 805             "InternalFrame.inactiveBorderColor", new DesktopProperty(




 725                }),
 726 
 727             // DesktopIcon
 728             "DesktopIcon.width", Integer.valueOf(160),
 729 
 730             "EditorPane.font", ControlFont,
 731             "EditorPane.background", WindowBackgroundColor,
 732             "EditorPane.foreground", WindowTextColor,
 733             "EditorPane.selectionBackground", SelectionBackgroundColor,
 734             "EditorPane.selectionForeground", SelectionTextColor,
 735             "EditorPane.caretForeground", WindowTextColor,
 736             "EditorPane.inactiveForeground", InactiveTextColor,
 737             "EditorPane.inactiveBackground", WindowBackgroundColor,
 738             "EditorPane.disabledBackground", DisabledTextBackground,
 739 
 740             "FileChooser.homeFolderIcon",  new LazyWindowsIcon(null,
 741                                                                "icons/HomeFolder.gif"),
 742             "FileChooser.listFont", IconFont,
 743             "FileChooser.listViewBackground", new XPColorValue(Part.LVP_LISTVIEW, null, Prop.FILLCOLOR,
 744                                                                WindowBackgroundColor),
 745             "FileChooser.listViewBorder", new EmptyBorder(0, 0, 0, 0),

 746             "FileChooser.listViewIcon",    new LazyWindowsIcon("fileChooserIcon ListView",
 747                                                                "icons/ListView.gif"),
 748             "FileChooser.listViewWindowsStyle", Boolean.TRUE,
 749             "FileChooser.detailsViewIcon", new LazyWindowsIcon("fileChooserIcon DetailsView",
 750                                                                "icons/DetailsView.gif"),
 751             "FileChooser.viewMenuIcon", new LazyWindowsIcon("fileChooserIcon ViewMenu",
 752                                                             "icons/ListView.gif"),
 753             "FileChooser.upFolderIcon",    new LazyWindowsIcon("fileChooserIcon UpFolder",
 754                                                                "icons/UpFolder.gif"),
 755             "FileChooser.newFolderIcon",   new LazyWindowsIcon("fileChooserIcon NewFolder",
 756                                                                "icons/NewFolder.gif"),
 757             "FileChooser.useSystemExtensionHiding", Boolean.TRUE,
 758 
 759             "FileChooser.usesSingleFilePane", Boolean.TRUE,
 760             "FileChooser.noPlacesBar", new DesktopProperty("win.comdlg.noPlacesBar",
 761                                                            Boolean.FALSE),
 762             "FileChooser.ancestorInputMap",
 763                new UIDefaults.LazyInputMap(new Object[] {
 764                      "ESCAPE", "cancelSelection",
 765                      "F2", "editFileName",
 766                      "F5", "refresh",
 767                      "BACK_SPACE", "Go Up"
 768                  }),
 769 
 770             "FileView.directoryIcon", SwingUtilities2.makeIcon(getClass(),
 771                                                                WindowsLookAndFeel.class,
 772                                                                "icons/Directory.gif"),
 773             "FileView.fileIcon", SwingUtilities2.makeIcon(getClass(),
 774                                                           WindowsLookAndFeel.class,
 775                                                           "icons/File.gif"),
 776             "FileView.computerIcon", SwingUtilities2.makeIcon(getClass(),
 777                                                               WindowsLookAndFeel.class,
 778                                                               "icons/Computer.gif"),
 779             "FileView.hardDriveIcon", SwingUtilities2.makeIcon(getClass(),
 780                                                                WindowsLookAndFeel.class,
 781                                                                "icons/HardDrive.gif"),
 782             "FileView.floppyDriveIcon", SwingUtilities2.makeIcon(getClass(),
 783                                                                  WindowsLookAndFeel.class,
 784                                                                  "icons/FloppyDrive.gif"),
 785             
 786             "FileView.fullRowSelection", true,
 787 
 788             "FormattedTextField.font", ControlFont,
 789             "InternalFrame.titleFont", WindowFont,
 790             "InternalFrame.titlePaneHeight",   TitlePaneHeight,
 791             "InternalFrame.titleButtonWidth",  TitleButtonWidth,
 792             "InternalFrame.titleButtonHeight", TitleButtonHeight,
 793             "InternalFrame.titleButtonToolTipsOn", hotTrackingOn,
 794             "InternalFrame.borderColor", ControlBackgroundColor,
 795             "InternalFrame.borderShadow", ControlShadowColor,
 796             "InternalFrame.borderDarkShadow", ControlDarkShadowColor,
 797             "InternalFrame.borderHighlight", ControlHighlightColor,
 798             "InternalFrame.borderLight", ControlLightColor,
 799             "InternalFrame.borderWidth", WindowBorderWidth,
 800             "InternalFrame.minimizeIconBackground", ControlBackgroundColor,
 801             "InternalFrame.resizeIconHighlight", ControlLightColor,
 802             "InternalFrame.resizeIconShadow", ControlShadowColor,
 803             "InternalFrame.activeBorderColor", new DesktopProperty(
 804                                                        "win.frame.activeBorderColor",
 805                                                        table.get("windowBorder")),
 806             "InternalFrame.inactiveBorderColor", new DesktopProperty(


< prev index next >