Parent Directory | Revision Log | Patch
revision 1.25 by trebligd, Thu Sep 15 13:19:09 2005 UTC | revision 1.26 by trebligd, Thu Sep 15 20:24:14 2005 UTC | |
---|---|---|
# | Line 268 public class BasicButtonUI extends Butto | Line 268 public class BasicButtonUI extends Butto |
268 | ||
269 | g.setFont(f); | g.setFont(f); |
270 | ||
271 | SwingUtilities.calculateInnerArea(b, vr); | if (b.isBorderPainted()) |
272 | SwingUtilities.calculateInnerArea(b, vr); | |
273 | else | |
274 | vr = SwingUtilities.getLocalBounds(b); | |
275 | String text = SwingUtilities.layoutCompoundLabel(c, g.getFontMetrics(f), | String text = SwingUtilities.layoutCompoundLabel(c, g.getFontMetrics(f), |
276 | b.getText(), | b.getText(), |
277 | currentIcon(b), | currentIcon(b), |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |