Question

I tried to complete a Java application that must include at a minimum: Three classes minimum...

I tried to complete a Java application that must include at a minimum:

  • Three classes minimum
  • At least one class must use inheritance
  • At least one class must be abstract
  • JavaFX front end – as you will see, JavaFX will allow you to create a GUI user interface.
  • The User Interface must respond to events.
  • If your application requires a data backend, you can choose to use a database or to use text files.
  • Error handling - The application should be able to handle invalid data.

There will be multiple assignments associated with this application including:

  • UML – provide documentation that documents your classes using UML.
    • Note: Since the user interface will use JavaFX, these classes should be unrelated to the user interface of your application. These classes should be related to the functionality of your project. For example, let's say your application will require the user to enter information about a person (first name, last name, etc.). You would want to create a class that contains all the fields as well as the setters and getters required for the object (with the setters doing validation as required for the associated field). This class might also contain information about which fields are required for the object to be valid as well as an override of the toString method for the class to output all the fields using the toString method in some predefined format. The JavaFX user interface could then use the object when trying to validate the user or to output the object to a report, etc. What these classes should not contain is anything related to the user interface for the application. That will come in the JavaFX portion of the project.
  • Classes / Test Classes – you should have created the classes your application will require at a minimum, in addition to any “test” classes that will instantiate your application classes and verify that these classes work. These “test” classes should output to the console test messages that verify your classes perform correctly.
    • Note: After this assignment is completed, you may find you need some additional classes to complete your project. You may add classes as required to make the app fully functional. However, make sure you get approval for any changes you need to make and remember to update your UML document as you will need to submit this document along with the final project.
  • JavaFX - your non-GUI related code should have been completed.as well as JavaFX GUI widgets (controls / windows, etc.). You should be working on finalizing the events and having a minimum of two events completed as well as your complete GUI (i.e. Windows and fields).

Semester Project: Finalize Project - including all requirements as outlined above and approved for this project should have been met.

The following is what I created for the user to place their order by entering their food and drink from my restaurant menu

The Model Classes are Food.java and Drinks.java

The Abstract Class are Price.java

The Controller file are FXMLDocumentController.java and FXML frontend FXML File and FXMLDocument.fxml

The Main File is myRestaurantFX.java

I am having trouble doing the error checking on my code based on the answer from this link: https://www.chegg.com/homework-help/questions-and-answers/need-java-application-gui-includes-following-requirements-three-classes-minimum-least-one--q40207800

0 0
Add a comment Improve this question Transcribed image text
Answer #1

JAVA APPLICATION : AIRLINE RESERVATION SYSTEM

LoginPage.java

DomesticFlight.java

InternationalFlight.java

PrintTicket1.java

ExitListener.java

WindowUtilities.java

unable to upload here so, download from this link :

https://drive.google.com/open?id=1gquvK3DNsvcVnTvRIxpJAWiwumIgTV9c

Add a comment
Know the answer?
Add Answer to:
I tried to complete a Java application that must include at a minimum: Three classes minimum...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Assignment Requirements I have also attached a Class Diagram that describes the hierarchy of the inheritance...

    Assignment Requirements I have also attached a Class Diagram that describes the hierarchy of the inheritance and interface behaviors . The link to the PDF of the diagram is below MotorVehical.pdf Minimize File Preview User Define Object Assignment: Create a Intellij Project. The Intellij project will contain three user defined classes. The project will test two of the User Define Classes by using the invoking each of their methods and printing the results. You are required to create three UML...

  • In this assignment, you will implement Address and Residence classes. Create a new java project. Part...

    In this assignment, you will implement Address and Residence classes. Create a new java project. Part A Implementation details of Address class: Add and implement a class named Address according to specifications in the UML class diagram. Data fields: street, city, province and zipCode. Constructors: A no-arg constructor that creates a default Address. A constructor that creates an address with the specified street, city, state, and zipCode Getters and setters for all the class fields. toString() to print out all...

  • lort answers, 2 points each in no more than one sentence per question Ta. How does a JavaFX GridPane differ from a BorderPane? b. A JavaFX application must contain a class that extends 1o. What i...

    lort answers, 2 points each in no more than one sentence per question Ta. How does a JavaFX GridPane differ from a BorderPane? b. A JavaFX application must contain a class that extends 1o. What is the fle name extension for a tle that contains this kind of code? fx-font-color: #FF0000,\ code in Java. The other way involes designing the cun i GUI 1d. One way t using to use JavaFX is to write all the te. In order to...

  • Computer Science 111 Introduction to Algorithms and Programming: Java Programming Net Beans Project #4 - Classes...

    Computer Science 111 Introduction to Algorithms and Programming: Java Programming Net Beans Project #4 - Classes and Objects (15 Points) You will create 3 new classes for this project, two will be chosen (THE TWO CHOSEN ARE TENNIS SHOE AND TREE) from the list below and one will be an entirely new class you invent. Here is the list: Cellphone Clothes JuiceDrink Book MusicBand Bike GameConsole Tree Automobile Baseball MusicPlayer Laptop TennisShoe Cartoon EnergyDrink TabletComputer RealityShow HalloweenCostume Design First Create...

  • You are given a specification for some Java classes as follows.   A building has a number...

    You are given a specification for some Java classes as follows.   A building has a number of floors, and a number of windows. A house is a building. A garage is a building. (This isn’t Florida-like … it’s a detached garage.) A room has a length, width, a floor covering, and a number of closets. You can never create an instance of a building, but every object that is a building must have a method that calculates the floor space,...

  • Java: student directory GUI You need to implement three classes: Person Student StudentDirectory StudentMain Start by...

    Java: student directory GUI You need to implement three classes: Person Student StudentDirectory StudentMain Start by implementing Person and Student classes. Once you are sure you can serialize and deserialize and ArrayList of Students to and from a file, move on to building the GUI application. Person: The Person class should implement serializable interface. It contains the following: Person's first name (String) Person's last name (String) Person's id number Person's date of birth (Date) public String toString(): This method method...

  • I need some help i need to do this in C# Objectives: • Create an application...

    I need some help i need to do this in C# Objectives: • Create an application that uses a dictionary collection to store information about an object. • Understanding of abstract classes and how to use them • Utilize override with an abstract class • Understanding of Interfaces and how to use them • Implement an Interface to create a “contract” between classes. • Compare and contrast inheritance and interfaces. Instructions: Interface: Create an interface called ITrainable which contains the...

  • Write Java classes CollectableItem and Coin defined by these UML    diagrams . CollectableItem is the...

    Write Java classes CollectableItem and Coin defined by these UML    diagrams . CollectableItem is the base class for the derived class Coin. If you wish, use    IntelliJ to write the constructors, getters, setters, and toString    methods.    +---------------------------------------------------------------+    |                 CollectableItem                               |    +---------------------------------------------------------------+    | - id : int                                                    |    | - itemType : String                                           |    | - price : double                                              |    | - onSale : boolean                                            |    +---------------------------------------------------------------+    | +...

  • I. User Interface Create a JavaFX application with a graphical user interface (GUI) based on the...

    I. User Interface Create a JavaFX application with a graphical user interface (GUI) based on the attached “GUI Mock-Up”. Write code to display each of the following screens in the GUI: A. A main screen, showing the following controls: • buttons for “Add”, “Modify”, “Delete”, “Search” for parts and products, and “Exit” • lists for parts and products • text boxes for searching for parts and products • title labels for parts, products, and the application title B. An add...

  • I need help writing my main method**** Computer Science 111 Introduction to Algorithms and Programming: Java...

    I need help writing my main method**** Computer Science 111 Introduction to Algorithms and Programming: Java Programming Project #4 – Classes and Objects (20 Points) You will create 3 new classes for this project, two will be chosen from the list below and one will be an entirely new class you invent.Here is the list: Shirt Shoe Wine Book Song Bicycle VideoGame Plant Car FootBall Boat Computer WebSite Movie Beer Pants TVShow MotorCycle Design First Create three (3) UML diagrams...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT