/** * Sets the background color used in {@link javax.swing.JViewport}, {@link javax.swing.JTree}, * {@link javax.swing.JTable} etc. * * @param c the background color used in {@link javax.swing.JViewport}, {@link javax.swing.JTree}, * {@link javax.swing.JTable} etc. */ public void setBackgroundColor(Color c) { backgroundColor.setColor(c); updateColors(); }
/** * Sets the text color. * * @param c the text color */ public void setTextColor(Color c) { textColor.setColor(c); updateColors(); }
/** * Sets the primary control background color used in scroll bar knobs etc. * * @param c the primary control background color */ public void setPrimaryControlColor(Color c) { primaryControlColor.setColor(c); updateColors(); }