Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in java language Question 3 Multi-Scene JavaFX Application with Objects A sample program Q3Skeleton.java to keep track of 3 best friends as strings has been

in java language
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Question 3 Multi-Scene JavaFX Application with Objects A sample program Q3Skeleton.java to keep track of 3 best friends as strings has been posted in an announcement. Its home screen shows the friends' names. Its edit screen allows you to change your best friends. Its play screen gives randomly generated suggestion of one friend to play with. You will enhance the skeleton with 3 new features. Feature A below entails the most work. It carries the same weight as features B and C combined. A. Change strings for a friend name in the sample to an object with 2 data attributes. If you choose to build a contact list as shown, the two attributes will be name and phone number. See Figures 1 and 2. B. Read initial data from a file when starting the application and save updated data to the same file when closing the application. - For your own testing, you want to make some changes to the data. Close the application. Opening the app again should show you the changed data saved. C. Add a Refresh button on play screen. Pressing the refresh button will regenrate another friend name. The screen should look like Figure 3. Question 3 Multi-Scene JavaFX Application with Objects A sample program Q3Skeleton.java to keep track of 3 best friends as strings has been posted in an announcement. Its home screen shows the friends' names. Its edit screen allows you to change your best friends. Its play screen gives randomly generated suggestion of one friend to play with. You will enhance the skeleton with 3 new features. Feature A below entails the most work. It carries the same weight as features B and C combined. A. Change strings for a friend name in the sample to an object with 2 data attributes. If you choose to build a contact list as shown, the two attributes will be name and phone number. See Figures 1 and 2 . B. Read initial data from a file when starting the application and save updated data to the same file when closing the application. - For your own testing, you want to make some changes to the data. Close the application. Opening the app again should show you the changed data saved. C. Add a Refresh button on play screen. Pressing the refresh button will regenrate another friend name. The screen should look like Figure 3. Home Screen 1 Peter 2233445 2 Paul 7999997 3 Mary 7788001 Figure 1. The grid pane of Home Screen has 3 columns now. Suggestion: Play with Peter. Figure 3. Play screen has a new refresh button to regenrate friend's name. Tips 1. Testing is important and tricky. In an early version, I had a bug of not saving the edited names in the file if I did not leave the Edit Screen before closing the application. 2. Deciding on the right order to implement the three required is important. 3. For time management, if after spending 30 minutes on this question and you made no progress, you should consider switching to Question 1 or 2

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

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

1. Describe two types of models used by economists.

Answered: 1 week ago

Question

LO4 Identify a system for controlling absenteeism.

Answered: 1 week ago