# 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) @@ -175,7 +175,21 @@ // db.dataview UIManager.put("nb.dataview.table.background", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.background")); //NOI18N UIManager.put("nb.dataview.table.altbackground", new RelativeColor(new Color(0,0,0), new Color(30,30,30), "Table.background")); //NOI18N + UIManager.put("nb.dataview.tablecell.focused", new RelativeColor(new Color(0,0,0), new Color(10,10,30), "Table.selectionBackground")); //NOI18N UIManager.put("nb.dataview.table.rollOverRowBackground", new RelativeColor(new Color(0,0,0), new Color(30,30,30), "Table.selectionBackground")); //NOI18N + UIManager.put("nb.dataview.tablecell.edited.selected.foreground", new Color(255, 248, 60)); //NOI18N + UIManager.put("nb.dataview.tablecell.edited.unselected.foreground", new Color(0, 255, 16)); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.background", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.background")); + UIManager.put("nb.dataview.jxdatetimepicker.foreground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.foreground")); + UIManager.put("nb.dataview.jxdatetimepicker.selectedBackground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.selectionBackground")); + UIManager.put("nb.dataview.jxdatetimepicker.selectedForeground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.selectionForeground")); + //UIManager.put("nb.dataview.jxdatetimepicker.monthStringBackground",); + //UIManager.put("nb.dataview.jxdatetimepicker.monthStringForeground",); + UIManager.put("nb.dataview.jxdatetimepicker.daysOfTheWeekForeground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.background")); + UIManager.put("nb.dataview.jxdatetimepicker.todayBackground", new RelativeColor(new Color(0,0,0), new Color(20,20,20), "TableHeader.background")); + UIManager.put("nb.dataview.jxdatetimepicker.todayPanel.background.gradient.start", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "TableHeader.background")); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.todayPanel.background.gradient.end", new RelativeColor(new Color(0,0,0), new Color(10,10,10), "TableHeader.background")); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.todayPanel.linkForeground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "TableHeader.foreground")); //NOI18N UIManager.put("selection.highlight", new Color(202, 152, 0)); 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) @@ -41,19 +41,16 @@ */ package org.netbeans.swing.plaf.nimbus; -import com.sun.imageio.plugins.common.ImageUtil; import java.awt.Color; import java.awt.Font; import java.util.concurrent.Callable; -import javax.imageio.ImageIO; import javax.swing.JLabel; import javax.swing.LookAndFeel; -import javax.swing.UIDefaults; import javax.swing.UIManager; import javax.swing.text.html.HTMLEditorKit; import javax.swing.text.html.StyleSheet; -import org.netbeans.swing.plaf.util.DarkIconFilter; import org.netbeans.swing.plaf.util.RelativeColor; +import org.netbeans.swing.plaf.util.UIUtils; /** * @@ -174,7 +171,21 @@ UIManager.put("nb.dataview.table.background", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.background")); //NOI18N UIManager.put("nb.dataview.table.altbackground", new RelativeColor(new Color(0,0,0), new Color(30,30,30), "Table.background")); //NOI18N UIManager.put("Table.selectionBackground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table[Enabled+Selected].textBackground")); //NOI18N - UIManager.put("nb.dataview.table.rollOverRowBackground", new RelativeColor(new Color(0,0,0), new Color(30,30,30), "Table[Enabled+Selected].textBackground")); + UIManager.put("nb.dataview.tablecell.focused", new RelativeColor(new Color(0,0,0), new Color(30,10,10), "Table.selectionBackground")); //NOI18N + UIManager.put("nb.dataview.table.rollOverRowBackground", new RelativeColor(new Color(0,0,0), new Color(30,30,30), "Table[Enabled+Selected].textBackground")); //NOI18N + UIManager.put("nb.dataview.tablecell.edited.selected.foreground", new Color(255, 248, 60)); //NOI18N + UIManager.put("nb.dataview.tablecell.edited.unselected.foreground", new Color(0, 255, 16)); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.background", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.background")); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.foreground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.foreground")); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.selectedBackground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table[Enabled+Selected].textBackground")); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.selectedForeground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table[Enabled+Selected].textForeground")); //NOI18N + //UIManager.put("nb.dataview.jxdatetimepicker.monthStringBackground",); //NOI18N + //UIManager.put("nb.dataview.jxdatetimepicker.monthStringForeground",); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.daysOfTheWeekForeground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "Table.background")); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.todayBackground", new RelativeColor(new Color(0,0,0), new Color(20,20,20), "Table.background")); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.todayPanel.background.gradient.start", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "TableHeader.background")); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.todayPanel.background.gradient.end", new RelativeColor(new Color(0,0,0), new Color(10,10,10), "TableHeader.background")); //NOI18N + UIManager.put("nb.dataview.jxdatetimepicker.todayPanel.linkForeground", new RelativeColor(new Color(0,0,0), new Color(0,0,0), "TableHeader.foreground")); //NOI18N UIManager.put("selection.highlight", new Color(202, 152, 0)); Index: o.n.swing.plaf/src/org/netbeans/swing/plaf/nimbus/NimbusLFCustoms.java --- o.n.swing.plaf/src/org/netbeans/swing/plaf/nimbus/NimbusLFCustoms.java Base (BASE) +++ o.n.swing.plaf/src/org/netbeans/swing/plaf/nimbus/NimbusLFCustoms.java Locally Modified (Based On LOCAL) @@ -70,7 +70,9 @@ //XXX fetch the custom font size here instead Font controlFont = new Font("Dialog", Font.PLAIN, fontsize); //NOI18N - Object[] result = {}; + Object[] result = { + "JXDateTimePicker.arrowIcon", UIUtils.loadImage("org/netbeans/swing/plaf/resources/nimbus_expander.png") + }; /*Object[] result = { //The assorted standard NetBeans metal font customizations CONTROLFONT, controlFont, @@ -88,6 +90,7 @@ SPINNERFONT, controlFont, EDITOR_ERRORSTRIPE_SCROLLBAR_INSETS, new Insets(16, 0, 16, 0), };*/ + return result; } Index: o.n.swing.plaf/src/org/netbeans/swing/plaf/resources/nimbus_expander.png --- o.n.swing.plaf/src/org/netbeans/swing/plaf/resources/nimbus_expander.png Base (BASE) +++ o.n.swing.plaf/src/org/netbeans/swing/plaf/resources/nimbus_expander.png Locally New