public static String showInputDialog(JFrame frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { return (String) DoShowOptionDialog(frame, msg, title, opt_type, msg_type, icon, opts, init); }
public static String showInputDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); pane.setWantsInput(true); JDialog dialog = pane.createDialog(parentComponent, null); dialog.pack(); dialog.show();  return (String) pane.getInputValue(); }
    public static String showInputDialog(JFrame frame,			     String msg, 			     String title, 			     int opt_type, 			     int msg_type,			     Icon icon, 			     Object[] opts, 			     Object init)    {	return (String) DoShowOptionDialog(frame,				msg, 				title, 				opt_type, 				msg_type,				icon, 				opts, 				init);    }