Question
Java program StudentViewer Instructions: Write a JavaFX program called StudentViewer which allows a user to view and edit information about Students which is held in
Java program StudentViewer
Instructions: Write a JavaFX program called StudentViewer which allows a user to view and edit information about Students which is held in the file students.bin. The program should first open the file and read all the students into a list using an ObjectInputStream. A GUI should allow the user to enter a new student, modify an existing one or scroll through the list (previous/next). If the user has modified the list with an add or edit, then the program should write back to students.bin before exiting.
Write a JavaFX public class Student implements java.io.Serializable { String lname;
String fname; String major; int id; int credits; int age; double gpa;
// Add any additional methods as required (getters/setters) }
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started