예제 #1
0
  public void actionPerformed(ActionEvent evt) {
    String arg = evt.getActionCommand();

    if (arg.equals("Ok")) {
      dispose();
    }
  }
예제 #2
0
  /*----------------------------------------------------*/
  public void actionPerformed(ActionEvent evt) {
    String arg = evt.getActionCommand();

    if (arg.equals("Next>")) {
      // 98/9/11 aa
      nsl_display_frame.addDisplayCanvas(
          var_sel_full_name, var_sel_info, plot_type_name, replace_canvas);
    } else if (arg.equals("Cancel")) {
      dispose();
    } else if (arg.equals("<Back")) {
      /* TODO - bring back NslDimInput Window */
      dispose();
    }
  }