I am creating an mvc
java application with netbeans
. first, when running the program, it should be only show 2 buttons "Teacher" & "Student".
when I click the teacher button
, it will leads me to viewTeacher
where i can input or edit data about "Teacher"
. same goes for student button.
I have finished the whole MVC but I am confused
about the first buttons:
- should I make more 1 view?
viewForm, viewTeacher, viewStudent.
viewForm is the first 2 buttons appear: "Teacher" & "Student"
OR
- should i put all the codes inside viewForm and create viewTeacher & viewStudent form on other components?