throw new RuntimeException ("couldn't set java.awt.Component.peer field");
throw new AssertionError (e);
  public void addNotify()  {    // Assume we're using ClasspathToolkit    ClasspathToolkit tk = (ClasspathToolkit) getToolkit();    // Circumvent the package-privateness of the AWT internal    // java.awt.Component.peer member variable.    try      {	Field peerField = Component.class.getDeclaredField("peer");	AccessController.doPrivileged(new SetAccessibleAction(peerField));	peerField.set(this, tk.createEmbeddedWindow (this));      }    catch (IllegalAccessException e)      {        throw new RuntimeException          ("couldn't set java.awt.Component.peer field");      }    catch (NoSuchFieldException e)      {        throw new RuntimeException          ("couldn't set java.awt.Component.peer field");  }    super.addNotify();  }