return sb.toString();
}
public int singleInstanceMain(String[] args) {
System.out.println("singleInstanceMain starts");
ThreadingPolicy policy=(ThreadingPolicy) EnumInputDialog.showInputDialog(
"Choose the threading policy",
"Threading policy",
ThreadingPolicy.class);
System.out.println("policy="+policy);
singleInstance.setPolicy(policy);