startModal(frame, pane);
startModal(frame);
  public static int showInternalConfirmDialog(Component parentComponent,                                              Object message)  {    JOptionPane pane = new JOptionPane(message);    JInternalFrame frame = pane.createInternalFrame(parentComponent, null);    startModal(frame, pane);    return ((Integer) pane.getValue()).intValue();  }