mirror of
https://github.com/sabazadam/Se302.git
synced 2025-12-31 12:21:22 +00:00
Fixed default application in pom.xml, and missing method in ScheduleStudentController
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -60,7 +60,7 @@
|
||||
<!-- Default configuration for running with: mvn clean javafx:run -->
|
||||
<id>default-cli</id>
|
||||
<configuration>
|
||||
<mainClass>org.example.se302/org.example.se302.HelloApplication</mainClass>
|
||||
<mainClass>org.example.se302/org.example.se302.ExamSchedulerApp</mainClass>
|
||||
<launcher>app</launcher>
|
||||
<jlinkZipName>app</jlinkZipName>
|
||||
<jlinkImageName>app</jlinkImageName>
|
||||
|
||||
@@ -4,7 +4,6 @@ import javafx.beans.property.SimpleStringProperty;
|
||||
import javafx.collections.FXCollections;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.scene.control.*;
|
||||
import javafx.util.Callback;
|
||||
import org.example.se302.model.Course;
|
||||
import org.example.se302.model.ScheduleConfiguration;
|
||||
import org.example.se302.model.Student;
|
||||
@@ -95,7 +94,7 @@ public class ScheduleStudentController {
|
||||
if (selected == null)
|
||||
return;
|
||||
|
||||
selectedStudentLabel.setText("Exam Schedule for: " + selected.getStudentId() + " (" + selected.getName() + ")");
|
||||
selectedStudentLabel.setText("Exam Schedule for: " + selected.getStudentId());
|
||||
|
||||
refreshTable(selected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user