Parent Directory | Revision Log | Patch
revision 1.39 by tromey, Sat Nov 9 23:17:30 2002 UTC | revision 1.40 by tromey, Sat Nov 9 23:21:55 2002 UTC | |
---|---|---|
# | Line 191 public class GtkToolkit extends java.awt | Line 191 public class GtkToolkit extends java.awt |
191 | ||
192 | protected ButtonPeer createButton (Button b) | protected ButtonPeer createButton (Button b) |
193 | { | { |
194 | GtkButtonPeer bp = new GtkButtonPeer (b); | return new GtkButtonPeer (b); |
Rectangle bounds = b.getBounds (); | ||
bp.setBounds (bounds.x, bounds.y, bounds.width, bounds.height); | ||
return bp; | ||
195 | } | } |
196 | ||
197 | protected CanvasPeer createCanvas (Canvas c) | protected CanvasPeer createCanvas (Canvas c) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |