/[classpath]/classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by trebligd, Tue Sep 6 21:24:57 2005 UTC revision 1.5 by langel, Thu Oct 20 20:21:29 2005 UTC
# Line 179  public class MetalRadioButtonUI Line 179  public class MetalRadioButtonUI
179    protected void paintFocus(Graphics g, Rectangle t, Dimension d)    protected void paintFocus(Graphics g, Rectangle t, Dimension d)
180    {    {
181      g.setColor(focusColor);      g.setColor(focusColor);
182      g.drawRect(t.x, t.y, t.width, t.height);      // minus 2 because of line thickness. Prevents border
183      // FIXME: we seem to be drawing too tight a rectangle here, perhaps there      // from being cutoff.
184      // is some padding to do somewhere???      g.drawRect(t.x, t.y, t.width - 2, t.height - 2);
185    }    }
186        
187  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26