protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect) { if(c instanceof JToggleButton) { paintToggleButtonIcon(g, c, iconRect); } else { super.paintIcon(g, c, iconRect); } }
protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect) { if(c instanceof JToggleButton) { paintToggleButtonIcon(g, c, iconRect); } else { super.paintIcon(g, c, iconRect); } }