if (awtComponent.getForeground () == null) awtComponent.setForeground (getForeground ()); if (awtComponent.getBackground () == null) awtComponent.setBackground (getBackground ());
if (awtComponent.getForeground () != null) setForeground (awtComponent.getForeground ()); if (awtComponent.getBackground () != null) setBackground (awtComponent.getBackground ());
  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());      initializeInsets ();      setCursor (awtComponent.getCursor ());      Rectangle bounds = awtComponent.getBounds ();      setBounds (bounds.x, bounds.y, bounds.width, bounds.height);    } catch (RuntimeException ex) { ; }  }