Master-Detail Screen Personbook shall be able to show a list (not a table view!) of contact persons in a master-detail layout, where the list of contact persons is on the left-hand side and the...

1 answer below »
Master-Detail Screen Personbook shall be able to show a list (not a table view!) of contact persons in a master-detail layout, where the list of contact persons is on the left-hand side and the details for a selected contact person on the right-hand side. When a contact person is selected, their details are shown on the right-hand side. The details are: • Full name • Birthday (day and month), birth year (optional) • Important for personal reasons? (yes/no), Important for business reasons? (yes/no) 4 marks (20%) FR2-FR4 depend on this requirement. FR2 Create New Contact Person Personbook shall feature a GUI form to capture details to create a new contact person’s details (as described in requirement FR1). The newly created contact person must appear in the master-detail screen (as defined in requirement FR1). 2 marks (10%) FR3 Edit Existing Contact Person Personbook shall feature a GUI form to edit the details of an existing person’s contact details, selected from the master-detail screen (as defined in requirement FR1). This can be the same GUI form as in requirement FR2 but needs to be able to edit a selected existing contact person rather than create a new contact person. The updated contact person must appear in the master-detail screen visible (as defined in requirement FR1) with the updates visible. 2 marks (10%) FR4 Case Notes As an extension to requirement FR1, Personbook shall be able to record case notes for a particular person. A case note consists of: • Date and time the notes are being recorded. • Approximately 3 sentences of notes, e.g., “Jess and I had a great catch up today. Jess paid for coffee so I owe her one. Jess is starting her new job next Monday so be sure to ask her about it next time you catch up.” These case notes should be visible in the details shown on the righthand side of the master-detail screen as per FR1
Answered 2 days AfterMar 17, 2021INFS2605

Answer To: Master-Detail Screen Personbook shall be able to show a list (not a table view!) of contact persons...

Shweta answered on Mar 20 2021
151 Votes
New folder/midterm/build/built-jar.properties
#Sat, 20 Mar 2021 14:09:02 +0530
C\:\\Users\\Acer\\Desktop\\midterm=
New folder/midterm/build/classes/midterm/App.class
package midterm;
public synchronized class App extends javafx.application.Application {
private static javafx.scene.Scene scene;
public void App();
public void start(javafx.stage.Stage) throws java.io.IOException;
static void setRoot(String) throws java.io.IOException;
private static javafx.scene.Parent loadFXML(String) throws java.io.IOException;
public static void main(String[]);
static void setRootEdit(ContactPerson) throws java.io.IOException;
}
New folder/midterm/build/classes/midterm/ContactPerson.class
package midterm;
public synchronized class ContactPerson {
private String name;
private String birthday;
private String personalReason;
private String businessReason;
private java.time.LocalDateTime notesDateTime;
private String notes;
public void ContactPerson(String, String, String, String, java.time.LocalDateTime, String);
public String getName();
public void setName(String);
public String getBirthday();
public void setBirthday(String);
public String getPersonalReason();
public void setPersonalReason(String);
public String getBusinessReason();
public void setBusinessReason(String);
public String getNotes();
public void setNotes(String);
public java.time.LocalDateTime getNotesDate();
public void setNotesDate(java.time.LocalDateTime);
public String toString();
}
New folder/midterm/build/classes/midterm/DataHelper.class
package midterm;
public synchronized class DataHelper {
public static java.util.ArrayList contactPerson;
public void DataHelper();
public static void preloadData();
static void ();
}
New folder/midterm/build/classes/midterm/editContact.fxml



















New folder/midterm/build/classes/midterm/EditContactController.class
package midterm;
public synchronized class EditContactController {
private javafx.scene.control.TextField editName;
private javafx.scene.control.TextField editBirthday;
private javafx.scene.control.TextField editPersonalReason;
private javafx.scene.control.TextField editBusinessResaon;
private javafx.scene.text.Text result;
private javafx.scene.control.ListView myMasterSideMenu;
private ContactPerson selectedPerson;
private String errorMessage;
public void EditContactController();
private void switchToHome() throws java.io.IOException;
private void edit() throws java.io.IOException, java.text.ParseException;
public void setData(ContactPerson);
private boolean isValid() throws java.text.ParseException;
}
New folder/midterm/build/classes/midterm/primary.fxml































New folder/midterm/build/classes/midterm/PrimaryController.class
package midterm;
public synchronized class PrimaryController {
private javafx.scene.control.ListView myMasterSideMenu;
private javafx.scene.control.Label lblPersonName;
private javafx.scene.text.Text birthday;
private javafx.scene.text.Text personalReason;
private javafx.scene.text.Text businessReason;
private javafx.scene.control.Button primaryButton;
private javafx.scene.text.Text notes;
public void PrimaryController();
public void initialize();
public void userDidChangeSelection();
private void switchToSecondary() throws java.io.IOException;
private void switchToEdit() throws java.io.IOException;
}
New folder/midterm/build/classes/midterm/secondary.fxml

























New folder/mi
dterm/build/classes/midterm/SecondaryController.class
package midterm;
public synchronized class SecondaryController {
private javafx.scene.control.Button secondaryButton;
private javafx.scene.control.TextField newName;
private javafx.scene.control.TextField newBirthday;
private javafx.scene.control.TextField newBusinessReason;
private javafx.scene.control.TextField newPersonalReason;
private javafx.scene.control.TextArea notesSentence;
private javafx.scene.text.Text added;
private String errorMessage;
public void SecondaryController();
private void addContact() throws java.text.ParseException;
private void switchToPrimary() throws java.io.IOException;
private boolean isValid() throws java.text.ParseException;
}
New folder/midterm/build.xml

Builds, tests, and runs the project midterm.


New folder/midterm/dist/midterm.html
Test page for midterm
Webstart: click to launch this app as webstart


New folder/midterm/dist/midterm.jar
META-INF/MANIFEST.MF
Manifest-Version: 1.0
Implementation-Title: midterm
X-COMMENT: Main-Class will be added automatically by build
Implementation-Version: 1.0
Permissions: sandbox
Codebase: *
JavaFX-Version: 8.0
Class-Path:
Created-By: JavaFX Packager
Implementation-Vendor: Acer
Main-Class: midterm.App
midterm/App.class
package midterm;
public synchronized class App extends javafx.application.Application {
private static javafx.scene.Scene scene;
public void App();
public void start(javafx.stage.Stage) throws java.io.IOException;
static void setRoot(String) throws java.io.IOException;
private static javafx.scene.Parent loadFXML(String) throws java.io.IOException;
public static void main(String[]);
static void setRootEdit(ContactPerson) throws java.io.IOException;
}
midterm/ContactPerson.class
package midterm;
public synchronized class ContactPerson {
private String name;
private String birthday;
private String personalReason;
private String businessReason;
private java.time.LocalDateTime notesDateTime;
private String notes;
public void ContactPerson(String, String, String, String, java.time.LocalDateTime, String);
public String getName();
public void setName(String);
public String getBirthday();
public void setBirthday(String);
public String getPersonalReason();
public void setPersonalReason(String);
public String getBusinessReason();
public void setBusinessReason(String);
public String getNotes();
public void setNotes(String);
public java.time.LocalDateTime getNotesDate();
public void setNotesDate(java.time.LocalDateTime);
public String toString();
}
midterm/DataHelper.class
package midterm;
public synchronized class DataHelper {
public static java.util.ArrayList contactPerson;
public void DataHelper();
public static void preloadData();
static void ();
}
midterm/EditContactController.class
package midterm;
public synchronized class EditContactController {
private javafx.scene.control.TextField editName;
private javafx.scene.control.TextField editBirthday;
private javafx.scene.control.TextField editPersonalReason;
private javafx.scene.control.TextField editBusinessResaon;
private javafx.scene.text.Text result;
private javafx.scene.control.ListView myMasterSideMenu;
private ContactPerson selectedPerson;
private String errorMessage;
public void EditContactController();
private void switchToHome() throws java.io.IOException;
private void edit() throws java.io.IOException, java.text.ParseException;
public void setData(ContactPerson);
private boolean isValid() throws java.text.ParseException;
}
midterm/PrimaryController.class
package midterm;
public synchronized class PrimaryController {
private javafx.scene.control.ListView myMasterSideMenu;
private javafx.scene.control.Label lblPersonName;
private javafx.scene.text.Text birthday;
private javafx.scene.text.Text personalReason;
private javafx.scene.text.Text businessReason;
private javafx.scene.control.Button primaryButton;
private javafx.scene.text.Text notes;
public void PrimaryController();
public void initialize();
public void userDidChangeSelection();
private void switchToSecondary() throws java.io.IOException;
private void switchToEdit() throws java.io.IOException;
}
midterm/SecondaryController.class
package midterm;
public synchronized class SecondaryController {
private javafx.scene.control.Button secondaryButton;
private javafx.scene.control.TextField newName;
private javafx.scene.control.TextField newBirthday;
private javafx.scene.control.TextField newBusinessReason;
private javafx.scene.control.TextField newPersonalReason;
private javafx.scene.control.TextArea notesSentence;
private javafx.scene.text.Text added;
private String errorMessage;
public void SecondaryController();
private void addContact() throws java.text.ParseException;
private void switchToPrimary() throws java.io.IOException;
private boolean isValid() throws java.text.ParseException;
}
midterm/editContact.fxml



















midterm/primary.fxml































midterm/secondary.fxml

























New folder/midterm/dist/midterm.jnlp


midterm
Acer
null








New folder/midterm/manifest.mf
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
New folder/midterm/nbproject/build-impl.xml


























































































































Must set platform.home
Must set platform.bootcp
Must set platform.java
Must set platform.javac

The J2SE Platform is not correctly set up.
Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files.
Either open the project in the IDE and setup the Platform with the same name or add it manually.
For example like this:
ant -Duser.properties.file= jar (where you put the property "platforms.${platform.active}.home" in a .properties file)
or ant -Dplatforms.${platform.active}.home= jar (where no properties file is used)







































































































































































Must set src.dir
Must set test.src.dir
Must set build.dir
Must set dist.dir
Must set build.classes.dir
Must set dist.javadoc.dir
Must set build.test.classes.dir
Must set build.test.results.dir
Must set build.classes.excludes
Must set dist.jar











































































































































































Must set javac.includes












































































































































































No tests executed.

























































































































































































Must set JVM to use for profiling in profiler.info.jvm
Must set profiler agent JVM arguments in profiler.info.jvmargs.agent























































































































































































































































































Must select some files in the IDE or set javac.includes
































































To run this application from the command line without Ant, try:

${platform.java} -jar "${dist.jar.resolved}"

































































































































Must select one file in the IDE or set run.class



Must select one file in the IDE or set run.class






















Must select one file in the IDE or set debug.class




Must select one file in the IDE or set debug.class




Must set fix.includes









This target only works when run from inside the NetBeans IDE.








Must select one file in the IDE or set profile.class
This target only works when run from inside the NetBeans IDE.








This target only works when run from inside the NetBeans IDE.












This target only works when run from inside the NetBeans IDE.































Must select one file in the IDE or set run.class





Must select some files in the IDE or set test.includes




Must select one file in the IDE or set run.class




Must select one file in the IDE or set applet.url




































































































































Must select some files in the IDE or set javac.includes























Some tests failed; see details above.








Must select some files in the IDE or set test.includes



Some tests failed; see details above.



Must select some files in the IDE or set test.class
Must select some method in the IDE or set test.method



Some tests failed; see details above.




Must select one file in the IDE or set test.class



Must select one file in the IDE or set test.class
Must select some method in the IDE or set test.method













Must select one file in the IDE or set applet.url








Must select one file in the IDE or set applet.url





















































New folder/midterm/nbproject/configs/Run_as_WebStart.properties
# Do not modify this property in this configuration. It can be re-generated.
$label=Run as WebStart
New folder/midterm/nbproject/configs/Run_in_Browser.properties
# Do not modify this property in this configuration. It can be re-generated.
$label=Run in Browser
New folder/midterm/nbproject/genfiles.properties
build.xml.data.CRC32=2f555e9f
build.xml.script.CRC32=c2aebf9f
[email protected]
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=2f555e9f
nbproject/build-impl.xml.script.CRC32=f23d3c62
nbproject/[email protected]
New folder/midterm/nbproject/jfx-impl.xml

JavaFX-specific Ant calls




















































































































































































































































































































































































































































































































































































































...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here