CPTS 253 spring 2000

 

Assignment #5 Database Organizer

 

Date Assigned: April 5

Date due: April 15

 

Overview: You are required to implement a simple database organizer using Java Swing and File I/O. Your organizer is supposed to provide the following basic functionality operated on each database entry:

 

 

Database Entry: The entry of the database is your choice. However it should include at least three java primitive data types. One example is:

 

            public class Employee {

                        String name;

                        int age;

                        float height;

                        String phone_number;

                        double salary_rate;

            }

 

 

User Interface: You are required to use Java Swing to provide a user interface. With the user interface, your organize is supposed to:

 

Read/Write from/to File:  You can maintain your database in either binary format or text format. Therefore, once again, it is your choice.  Optionally you can use Object Serialization, which is the easiest way. However there will be no credit if you use Object Serialization only.