Parent Directory | Revision Log | Patch
revision 1.4.2.7 by gnu_andrew, Wed Nov 2 00:43:52 2005 UTC | revision 1.4.2.8 by gnu_andrew, Sun Nov 27 21:00:38 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 |