/[classpath]/classpath/java/awt/Component.java
ViewVC logotype

Diff of /classpath/java/awt/Component.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by bryce, Wed Sep 5 07:20:43 2001 UTC revision 1.9 by jewel, Mon Nov 5 21:20:44 2001 UTC
# Line 111  private String name; Line 111  private String name;
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;
# Line 302  public void Line 302  public void
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  /*************************************************************************/  /*************************************************************************/

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26