/** * {@inheritDoc} */ @Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); defaults.add("JXHeader.background", new ColorUIResource(new Color(214, 217, 223, 255))); } }
/** * {@inheritDoc} */ @Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); defaults.add("JXHeader.background", new ColorUIResource(new Color(214, 217, 223, 255))); } }
/** * {@inheritDoc} */ @Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); defaults.add("JXHeader.background", new ColorUIResource(new Color(214, 217, 223, 255))); } }
/** * {@inheritDoc} */ @Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); defaults.add("JXHeader.background", new ColorUIResource(new Color(214, 217, 223, 255))); } }
/** * {@inheritDoc} */ @Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); defaults.add("JXHeader.background", new ColorUIResource(new Color(214, 217, 223, 255))); } }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // dynamically changing the LaF to Nimbus does not refresh correctly the // control colors if they are not hard-coded due to Nimbus DerivedColors // lazy initialization // defaults.add("TaskPaneContainer.background", new ColorUIResource( // UIManager.getColor("control"))); defaults.add("TaskPaneContainer.background", new ColorUIResource(214,217,223)); }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // dynamically changing the LaF to Nimbus does not refresh correctly the // control colors if they are not hard-coded due to Nimbus DerivedColors // lazy initialization // defaults.add("TaskPaneContainer.background", new ColorUIResource( // UIManager.getColor("control"))); defaults.add("TaskPaneContainer.background", new ColorUIResource(214,217,223)); }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // dynamically changing the LaF to Nimbus does not refresh correctly the // control colors if they are not hard-coded due to Nimbus DerivedColors // lazy initialization // defaults.add("TaskPaneContainer.background", new ColorUIResource( // UIManager.getColor("control"))); defaults.add("TaskPaneContainer.background", new ColorUIResource(214,217,223)); }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // dynamically changing the LaF to Nimbus does not refresh correctly the // control colors if they are not hard-coded due to Nimbus DerivedColors // lazy initialization // defaults.add("TaskPaneContainer.background", new ColorUIResource( // UIManager.getColor("control"))); defaults.add("TaskPaneContainer.background", new ColorUIResource(214,217,223)); }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // JW: Hacking around core issue #6882917 // which is the underlying reason for issue #1180-swingx // (SwingX vs Nimbus table striping) if (Boolean.TRUE.equals(UIManager.get("Nimbus.keepAlternateRowColor"))) return; Object value = UIManager.getLookAndFeelDefaults().remove("Table.alternateRowColor"); if (value instanceof Color) { defaults.add("UIColorHighlighter.stripingBackground", value, false); } }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // JW: Hacking around core issue #6882917 // which is the underlying reason for issue #1180-swingx // (SwingX vs Nimbus table striping) if (Boolean.TRUE.equals(UIManager.get("Nimbus.keepAlternateRowColor"))) return; Object value = UIManager.getLookAndFeelDefaults().remove("Table.alternateRowColor"); if (value instanceof Color) { defaults.add("UIColorHighlighter.stripingBackground", value, false); } }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // JW: Hacking around core issue #6882917 // which is the underlying reason for issue #1180-swingx // (SwingX vs Nimbus table striping) if (Boolean.TRUE.equals(UIManager.get("Nimbus.keepAlternateRowColor"))) return; Object value = UIManager.getLookAndFeelDefaults().remove("Table.alternateRowColor"); if (value instanceof Color) { defaults.add("UIColorHighlighter.stripingBackground", value, false); } }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // JW: Hacking around core issue #6882917 // which is the underlying reason for issue #1180-swingx // (SwingX vs Nimbus table striping) if (Boolean.TRUE.equals(UIManager.get("Nimbus.keepAlternateRowColor"))) return; Object value = UIManager.getLookAndFeelDefaults().remove("Table.alternateRowColor"); if (value instanceof Color) { defaults.add("UIColorHighlighter.stripingBackground", value, false); } }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // JW: Hacking around core issue #6882917 // which is the underlying reason for issue #1180-swingx // (SwingX vs Nimbus table striping) if (Boolean.TRUE.equals(UIManager.get("Nimbus.keepAlternateRowColor"))) return; // PENDING JW: not entirely sure if it is safe to really grab the color here // the Nimbus (Derived)Color is not yet fully installed at this moment // so without a table to instantiate may be rgb = 0,0,0 Object value = UIManager.getLookAndFeelDefaults().remove("Table.alternateRowColor"); if (value instanceof Color) { defaults.add("UIColorHighlighter.stripingBackground", value, false); } }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // JW: Hacking around core issue #6882917 // which is the underlying reason for issue #1180-swingx // (SwingX vs Nimbus table striping) if (Boolean.TRUE.equals(UIManager.get("Nimbus.keepAlternateRowColor"))) return; // PENDING JW: not entirely sure if it is safe to really grab the color here // the Nimbus (Derived)Color is not yet fully installed at this moment // so without a table to instantiate may be rgb = 0,0,0 Object value = UIManager.getLookAndFeelDefaults().remove("Table.alternateRowColor"); if (value instanceof Color) { defaults.add("UIColorHighlighter.stripingBackground", value, false); } }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // JW: Hacking around core issue #6882917 // which is the underlying reason for issue #1180-swingx // (SwingX vs Nimbus table striping) if (Boolean.TRUE.equals(UIManager.get("Nimbus.keepAlternateRowColor"))) return; // PENDING JW: not entirely sure if it is safe to really grab the color here // the Nimbus (Derived)Color is not yet fully installed at this moment // so without a table to instantiate may be rgb = 0,0,0 Object value = UIManager.getLookAndFeelDefaults().remove("Table.alternateRowColor"); if (value instanceof Color) { defaults.add("UIColorHighlighter.stripingBackground", value, false); } }
@Override protected void addNimbusDefaults(LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults(addon, defaults); // JW: Hacking around core issue #6882917 // which is the underlying reason for issue #1180-swingx // (SwingX vs Nimbus table striping) if (Boolean.TRUE.equals(UIManager.get("Nimbus.keepAlternateRowColor"))) return; // PENDING JW: not entirely sure if it is safe to really grab the color here // the Nimbus (Derived)Color is not yet fully installed at this moment // so without a table to instantiate may be rgb = 0,0,0 Object value = UIManager.getLookAndFeelDefaults().remove("Table.alternateRowColor"); if (value instanceof Color) { defaults.add("UIColorHighlighter.stripingBackground", value, false); } }
/** {@inheritDoc} */ @Override protected void addNimbusDefaults (LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults (addon, defaults); // Issue #913-swingx: ugly in Nimbus // TODO: don't use an image here, Nimbus uses Painters for everything // => e.g. reuse the // com.sun.java.swing.plaf.nimbus.ComboBoxComboBoxArrowButtonPainter // (at the moment the OS-X icon looks most similar, it's much better // than no icon...) defaults.add ("JXDatePicker.arrowIcon", LookAndFeel.makeIcon (DatePickerAddon.class, "macosx/resources/combo-osx.png")); // Issue #913-swingx: ugly in Nimbus // remove the border which was installed in addBasicDefaults // this is done by Nimbus defaults.add ("JXDatePicker.border", null); }
/** {@inheritDoc} */ @Override protected void addNimbusDefaults (LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults (addon, defaults); // Issue #913-swingx: ugly in Nimbus // TODO: don't use an image here, Nimbus uses Painters for everything // => e.g. reuse the // com.sun.java.swing.plaf.nimbus.ComboBoxComboBoxArrowButtonPainter // (at the moment the OS-X icon looks most similar, it's much better // than no icon...) defaults.add ("JXDatePicker.arrowIcon", LookAndFeel.makeIcon (DatePickerAddon.class, "macosx/resources/combo-osx.png")); // Issue #913-swingx: ugly in Nimbus // remove the border which was installed in addBasicDefaults // this is done by Nimbus defaults.add ("JXDatePicker.border", null); }
/** {@inheritDoc} */ @Override protected void addNimbusDefaults (LookAndFeelAddons addon, DefaultsList defaults) { super.addNimbusDefaults (addon, defaults); // Issue #913-swingx: ugly in Nimbus // TODO: don't use an image here, Nimbus uses Painters for everything // => e.g. reuse the // com.sun.java.swing.plaf.nimbus.ComboBoxComboBoxArrowButtonPainter // (at the moment the OS-X icon looks most similar, it's much better // than no icon...) defaults.add ("JXDatePicker.arrowIcon", LookAndFeel.makeIcon (DatePickerAddon.class, "macosx/resources/combo-osx.png")); // Issue #913-swingx: ugly in Nimbus // remove the border which was installed in addBasicDefaults // this is done by Nimbus defaults.add ("JXDatePicker.border", null); }