# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /home/matthias/NetBeansProjects/core-main # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: o.n.swing.plaf/src/org/netbeans/swing/plaf/metal/DarkMetalTheme.java --- o.n.swing.plaf/src/org/netbeans/swing/plaf/metal/DarkMetalTheme.java Base (BASE) +++ o.n.swing.plaf/src/org/netbeans/swing/plaf/metal/DarkMetalTheme.java Locally Modified (Based On LOCAL) @@ -47,6 +47,7 @@ import javax.swing.plaf.ColorUIResource; import javax.swing.plaf.metal.DefaultMetalTheme; import org.netbeans.swing.plaf.util.DarkIconFilter; +import org.netbeans.swing.plaf.util.RelativeColor; /** * @@ -164,6 +165,11 @@ UIManager.put( "nb.versioning.conflicted.color", new Color(255, 51, 51)); //NOI18N UIManager.put( "nb.versioning.ignored.color", new Color(255, 255, 255)); //NOI18N UIManager.put( "nb.versioning.remotemodification.color", black); //NOI18N + + // db.dataview + UIManager.put("nb.dataview.table.background", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.background")); + UIManager.put("nb.dataview.table.altbackground", new RelativeColor(new Color(0,0,0), new Color(30,30,30), "Table.background")); + UIManager.put("nb.dataview.table.rollOverRowBackground", new RelativeColor(new Color(0,0,0), new Color(30,30,30), "Table.selectionBackground")); } @Override Index: o.n.swing.plaf/src/org/netbeans/swing/plaf/nimbus/DarkNimbusTheme.java --- o.n.swing.plaf/src/org/netbeans/swing/plaf/nimbus/DarkNimbusTheme.java Base (BASE) +++ o.n.swing.plaf/src/org/netbeans/swing/plaf/nimbus/DarkNimbusTheme.java Locally Modified (Based On LOCAL) @@ -45,6 +45,7 @@ import javax.swing.LookAndFeel; import javax.swing.UIManager; import org.netbeans.swing.plaf.util.DarkIconFilter; +import org.netbeans.swing.plaf.util.RelativeColor; /** * @@ -160,5 +161,11 @@ UIManager.put( "nb.versioning.conflicted.color", new Color(255, 51, 51)); //NOI18N UIManager.put( "nb.versioning.ignored.color", new Color(153, 153, 153)); //NOI18N UIManager.put( "nb.versioning.remotemodification.color", new Color( 230, 230, 230)); //NOI18N + + // db.dataview + UIManager.put("nb.dataview.table.background", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.background")); + UIManager.put("nb.dataview.table.altbackground", new RelativeColor(new Color(0,0,0), new Color(30,30,30), "Table.background")); + UIManager.put("Table.selectionBackground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table[Enabled+Selected].textBackground")); + UIManager.put("nb.dataview.table.rollOverRowBackground", new RelativeColor(new Color(0,0,0), new Color(30,30,30), "Table[Enabled+Selected].textBackground")); } }