Parent Directory | Revision Log | Patch
revision 1.16 by trebligd, Thu Oct 20 14:55:02 2005 UTC | revision 1.17 by langel, Thu Nov 24 18:19:18 2005 UTC | |
---|---|---|
# | Line 162 public class BasicArrowButton extends JB | Line 162 public class BasicArrowButton extends JB |
162 | super.paint(g); | super.paint(g); |
163 | Rectangle bounds = getBounds(); | Rectangle bounds = getBounds(); |
164 | int size = bounds.height / 4; | int size = bounds.height / 4; |
165 | int x = (bounds.width - size) / 2; | int x = bounds.x + (bounds.width - size) / 2; |
166 | int y = (bounds.height - size) / 2; | int y = (bounds.height - size) / 4; |
167 | ButtonModel m = getModel(); | ButtonModel m = getModel(); |
168 | if (m.isArmed()) | if (m.isArmed()) |
169 | { | { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |