Ejemplo n.º 1
0
  private void next_buttonActionPerformed(
      java.awt.event.ActionEvent evt) { // GEN-FIRST:event_next_buttonActionPerformed
    String next_stud = gui.utils.GUIUtils.getNextStudent(stud_name, studentID, student_list);

    String[] split_array = next_stud.split(" - ");
    String next_name = split_array[0];
    String next_number = split_array[1];
    int next_number_int = Integer.parseInt(next_number);

    setOkToNav();
    GUIUtils.getMasterFrame(this)
        .movePage(new MarkingCode(courseID, activity, next_number_int, next_name, student_list));
  } // GEN-LAST:event_next_buttonActionPerformed
Ejemplo n.º 2
0
 private void test_suite_buttonActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_test_suite_buttonActionPerformed
   setOkToNav();
   GUIUtils.getMasterFrame(this)
       .movePage(
           new TestSuite(
               testsuite_activity.getStudentSubPath() + "/" + studentID + "/" + actName + ".py",
               testsuite_activity.getSolnPath(),
               activity.getNumOfTests(),
               actName,
               courseID));
   setCantNav();
 } // GEN-LAST:event_test_suite_buttonActionPerformed