public static String getClusterHostPort(java.awt.Component parent, Object msgString, String host, String port) { return (String) OptionPane.showInputDialog(parent, msgString, "Cluster Location", OptionPane.QUESTION_MESSAGE,  null, null, host + ":" + port);
public static String getClusterHostPort(java.awt.Component parent) { return getClusterHostPort(parent, "Enter location of a cluster.", "localhost", "8800");
  public static String getClusterHostPort(java.awt.Component parent, 					  Object msgString,					  String host, 					  String port) {      return (String)          OptionPane.showInputDialog(parent,                                     msgString,                                     "Cluster Location",                                     OptionPane.QUESTION_MESSAGE,                                     //null, null, "localhost:5555");                                     null, null, host + ":" + port);  }