111 |
private Container parent; |
private Container parent; |
112 |
|
|
113 |
// The native peer for this componet |
// The native peer for this componet |
114 |
private ComponentPeer peer; |
ComponentPeer peer; |
115 |
|
|
116 |
// Indicates whether or not this component is valid. |
// Indicates whether or not this component is valid. |
117 |
private boolean valid; |
private boolean valid; |
302 |
setBounds(int x, int y, int width, int height) |
setBounds(int x, int y, int width, int height) |
303 |
{ |
{ |
304 |
bounding_rectangle = new Rectangle(x, y, width, height); |
bounding_rectangle = new Rectangle(x, y, width, height); |
305 |
getPeer().setBounds(x, y, width, height); |
if(getPeer() == null) |
306 |
|
{ |
307 |
|
System.out.println("The peer object is null in " + this); |
308 |
|
} |
309 |
|
else |
310 |
|
getPeer().setBounds(x, y, width, height); |
311 |
} |
} |
312 |
|
|
313 |
/*************************************************************************/ |
/*************************************************************************/ |