if (! (awtComponent instanceof Window)) { setCursor (awtComponent.getCursor ()); Rectangle bounds = awtComponent.getBounds (); setBounds (bounds.x, bounds.y, bounds.width, bounds.height); }
initializeInsets ();  setCursor (awtComponent.getCursor ()); Rectangle bounds = awtComponent.getBounds (); setBounds (bounds.x, bounds.y, bounds.width, bounds.height);
  protected GtkComponentPeer (Component awtComponent)  {    super (awtComponent);    this.awtComponent = awtComponent;    /* temporary try/catch block until all peers use this creation method */    try {      create ();            GtkArgList args = new GtkArgList ();      getArgs (awtComponent, args);      args.setArgs (this);      connectHooks ();      if (awtComponent.getForeground () == null)	awtComponent.setForeground (getForeground ());      if (awtComponent.getBackground () == null)	awtComponent.setBackground (getBackground ());      //        if (c.getFont () == null)      //  	c.setFont (cp.getFont ());      if (awtComponent.getFont() != null)	setFont(awtComponent.getFont());            if (! (awtComponent instanceof Window))	{	  setCursor (awtComponent.getCursor ());	  Rectangle bounds = awtComponent.getBounds ();	  setBounds (bounds.x, bounds.y, bounds.width, bounds.height);	}    } catch (RuntimeException ex) { ; }  }