CheckBox: removed accidentally checked in debug output

This commit is contained in:
Karl Tauber
2019-10-24 18:07:22 +02:00
parent 9450ba5e46
commit 5743b5d59f

View File

@@ -92,7 +92,6 @@ public class FlatCheckBoxIcon
protected void paintIcon( Component c, Graphics2D g2 ) {
boolean indeterminate = c instanceof JComponent && clientPropertyEquals( (JComponent) c, SELECTED_STATE, SELECTED_STATE_INDETERMINATE );
boolean selected = indeterminate || (c instanceof AbstractButton && ((AbstractButton)c).isSelected());
System.out.println( "icon "+indeterminate+" "+selected );
// paint focused border
if( c.hasFocus() && focusWidth > 0 ) {