24 |
AbstractButton b = (AbstractButton)c; |
AbstractButton b = (AbstractButton)c; |
25 |
Dimension d = BasicGraphicsUtils.getPreferredSize(b, |
Dimension d = BasicGraphicsUtils.getPreferredSize(b, |
26 |
gap, |
gap, |
27 |
b.text, |
b.getText(), |
28 |
b.getIcon(), |
b.getIcon(), |
29 |
b.vert_align, |
b.getVerticalAlignment(), |
30 |
b.hori_align, |
b.getHorizontalAlignment(), |
31 |
b.hori_text_pos, |
b.getHorizontalTextPosition(), |
32 |
b.vert_text_pos); |
b.getVerticalTextPosition()); |
33 |
|
|
34 |
// and add a little something for the circles: |
// and add a little something for the circles: |
35 |
|
|
36 |
d.width += large_circle_width; |
d.width += large_circle_width; |