public GotoLineDialog(JTextComponent text){
  super(ActionUtils.getFrameFor(text),false);
  initComponents();
  this.text=text;
  setLocationRelativeTo(text.getRootPane());
}

public GotoLineDialog ( JTextComponent text ) { super ( ActionUtils . getFrameFor ( text ) , false ) ; initComponents ( ) ; this . text = text ; setLocationRelativeTo ( text . getRootPane ( ) ) ; }
creates new form gotolinedialog
