public FindDialog(Application app){
  this((app.getComponent() == null) ? null : (Frame)SwingUtilities.getWindowAncestor(app.getComponent()),false);
  this.app=app;
}

public FindDialog ( Application app ) { this ( ( app . getComponent ( ) == null ) ? null : ( Frame ) SwingUtilities . getWindowAncestor ( app . getComponent ( ) ) , false ) ; this . app = app ; }
creates new form finddialog
