startModal(frame, pane);
startModal(frame);
  public static String showInternalInputDialog(Component parentComponent,                                               Object message)  {    JOptionPane pane = new JOptionPane(message);    pane.setWantsInput(true);    JInternalFrame frame = pane.createInternalFrame(parentComponent, null);    startModal(frame, pane);    return (String) pane.getInputValue();  }