Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Eclipse and javafx while creating project. Make user interface design (text Field, label, button, alert, stage..) with coding. Do not use scene builder or

Use Eclipse and javafx while creating project. Make user interface design (text Field, label, button, alert, stage..) with coding. Do not use "scene builder" or similar tools.

!! For the report;

- Describe the problem including major steps, functions for solving the problem and input/output.

- Draw the UML diagram of code.

- Describe how you test this program.

image text in transcribedimage text in transcribed

Problem Description: Address Book ID Search/Update ID Name Street City Gender F Zip 1234 Add First Next Previous Last UpdateByID SearchByID Clean textFields Address Book ID 3 Search/Update ID 3 Name Street City Gender M Zip Add First Next Previous Last UpdateByID Search ByID Clean textFields Alert: Information Dialog Look, an Information Dialog i Record is added successfully OK 1- Write a java program that stores, retrieves, adds, updates and search addresses as shown in figure. Use a fixed-length string for storing each attribute in the address. Use random access file(.dat) or text file (.txt) for reading and writing an address. Assume that the size of id, name, street, city, gender, and zip is 4, 32, 32, 20, 1, 5 characters, respectively. Program should perform add, first, next, previous, last, updateById, SearchById, CleanTextFields operations. ID text field should be read only' and id should be set in the code for each record, do not take from user. Use Search/Update ID text Field as input for UpdateById and SearchById buttons. Create Person class. Data fields are: ID, name, street, city, zip, gender. Create constructor, getters and setters. When program starts, read all records from random access file or text file and save each record in Person []. (Person array) Update both Person[] and random access file or text file when add and update operations happen. Use Person[] for first, next, previous, last, searchById operations, do not use random access file. Create Alert when new record added successfully. You may add some controls (like: alert) in situations like: pressing next button when viewing last record, pressing "previous" button when viewing first record

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students also viewed these Databases questions