Parent Directory | Revision Log | Patch
revision 1.6 by trebligd, Thu Oct 27 09:50:58 2005 UTC | revision 1.7 by langel, Thu Nov 10 22:59:26 2005 UTC | |
---|---|---|
# | Line 178 public class MetalRadioButtonUI | Line 178 public class MetalRadioButtonUI |
178 | protected void paintFocus(Graphics g, Rectangle t, Dimension d) | protected void paintFocus(Graphics g, Rectangle t, Dimension d) |
179 | { | { |
180 | g.setColor(focusColor); | g.setColor(focusColor); |
181 | // minus 2 because of line thickness. Prevents border | g.drawRect(t.x - 1, t.y + 2, t.width + 2, t.height - 4); |
// from being cutoff. | ||
g.drawRect(t.x, t.y, t.width - 2, t.height - 2); | ||
182 | } | } |
183 | ||
184 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |