if (parent != null && parent.isDisplayable()) fireDummyEvent();
addNotify(){  if (menuBar != null)    menuBar.addNotify();  if (peer == null)    peer = getToolkit ().createFrame (this);  // We now know there's a Frame (us) with a live peer, so we can start the  // fundamental queue and dispatch thread, by inserting a dummy event.  if (parent != null && parent.isDisplayable())    fireDummyEvent();    super.addNotify();}