private void save_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_save_buttonActionPerformed
		for (int i = 0; i < rubric_table.getColumnCount(); i++) {
			try {
				GradeAccess.enterGrade(studentID, courseID, actName,
						rubric_table.getModel().getValueAt(i, 0).toString(),
						Float.parseFloat(rubric_table.getModel()
								.getValueAt(i, 1).toString()));
			} catch (NumberFormatException e) {
				e.printStackTrace();
			} catch (SQLException e) {
				GradeAccess.updateGrade(studentID, courseID, actName,
						rubric_table.getModel().getValueAt(i, 0).toString(),
						Float.parseFloat(rubric_table.getModel()
								.getValueAt(i, 1).toString()));
			}
		}
		
		try {
			PrintWriter out = new PrintWriter(paths[0] + "/" + studentID + "/"
					+ actName + ".py");
			out.write(submission_text_area.getText());
			out.close();
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
       setOkToNav();
       JOptionPane.showMessageDialog(this,"Grade and comments saved.");
    }//GEN-LAST:event_save_buttonActionPerformed