< prev index next >

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

Print this page

        

@@ -740,12 +740,11 @@
             "FileChooser.homeFolderIcon",  new LazyWindowsIcon(null,
                                                                "icons/HomeFolder.gif"),
             "FileChooser.listFont", IconFont,
             "FileChooser.listViewBackground", new XPColorValue(Part.LVP_LISTVIEW, null, Prop.FILLCOLOR,
                                                                WindowBackgroundColor),
-            "FileChooser.listViewBorder", new XPBorderValue(Part.LVP_LISTVIEW,
-               (LazyValue) t -> BorderUIResource.getLoweredBevelBorderUIResource()),
+            "FileChooser.listViewBorder", new EmptyBorder(0, 0, 0, 0),
             "FileChooser.listViewIcon",    new LazyWindowsIcon("fileChooserIcon ListView",
                                                                "icons/ListView.gif"),
             "FileChooser.listViewWindowsStyle", Boolean.TRUE,
             "FileChooser.detailsViewIcon", new LazyWindowsIcon("fileChooserIcon DetailsView",
                                                                "icons/DetailsView.gif"),

@@ -782,10 +781,12 @@
                                                                "icons/HardDrive.gif"),
             "FileView.floppyDriveIcon", SwingUtilities2.makeIcon(getClass(),
                                                                  WindowsLookAndFeel.class,
                                                                  "icons/FloppyDrive.gif"),
 
+            "FileView.fullRowSelection", true,
+
             "FormattedTextField.font", ControlFont,
             "InternalFrame.titleFont", WindowFont,
             "InternalFrame.titlePaneHeight",   TitlePaneHeight,
             "InternalFrame.titleButtonWidth",  TitleButtonWidth,
             "InternalFrame.titleButtonHeight", TitleButtonHeight,
< prev index next >