d.setVisible(true);
d.show();
  public static void main(String[] args) {    ArrayList trialNames = new ArrayList();    CMTDialog d = new CMTDialog(null, null, "ExperimentName", "ExperimentID");    d.setVisible(true);  }