diff options
Diffstat (limited to 'src/com.example.portfolio2/com/example')
-rw-r--r-- | src/com.example.portfolio2/com/example/portfolio2/Window.java | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/com.example.portfolio2/com/example/portfolio2/Window.java b/src/com.example.portfolio2/com/example/portfolio2/Window.java index c02017b..532dabb 100644 --- a/src/com.example.portfolio2/com/example/portfolio2/Window.java +++ b/src/com.example.portfolio2/com/example/portfolio2/Window.java @@ -39,37 +39,6 @@ public final class Window extends Application { /// database singleton MyDB myDB = new MyDB(); - /* Below is the original implementation of the UI elements with - accompanying, individual calls to setOnAction to specify functionality. - Before changing to a list format, - we made sure methods in controller and model - were generalized to allow for the new structure seamlessly. - private ComboBox<String> programCombo = new ComboBox<>(); - private ComboBox<String> subject1Combo = new ComboBox<>(); - private ComboBox<String> subject2Combo = new ComboBox<>(); - private ComboBox<String> electiveCombo = new ComboBox<>(); - - private ComboBox<String> programSelect = new ComboBox<>(); - private ComboBox<String> subject1Select = new ComboBox<>(); - private ComboBox<String> subject2Select = new ComboBox<>(); - private ComboBox<String> electiveSelect = new ComboBox<>(); - - private TextArea programArea = new TextArea(); - private TextArea subject1Area = new TextArea(); - private TextArea subject2Area = new TextArea(); - private TextArea electiveArea = new TextArea(); - - private Label programEcts = new Label(); - private Label subject1Ects = new Label(); - private Label subject2Ects = new Label(); - private Label electiveEcts = new Label(); - - private VBox program = new VBox(new Label("Program"), programCombo, programSelect, programArea, programEcts); - private VBox subject1 = new VBox(new Label("Subject 1"), subject1Combo, subject1Select, subject1Area, subject1Ects); - private VBox subject2 = new VBox(new Label("Subject 2"), subject2Combo, subject2Select, subject2Area, subject2Ects); - private VBox elective = new VBox(new Label("Elective"), electiveCombo, electiveSelect, electiveArea, electiveEcts); - */ - @Override public void start(Stage stage) throws IOException { // clear old insertions into participation table |