American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM – Intro To Java

September 12, 2020 @ 3:00 pm - 4:00 pm

  1. We continued with Vehicle System User Interface.
    1. We were able to launch Insert New Vehicle popup and able to connect the FXML file with the Controller.
    2. When the user clicks the Cancel button, the popup close.
    3. When the user clicks the Save button, it generates a Vehicle object.
  2. Homework:
    1. In the Insert New Vehicle Popup dialog, when the user does not enter all the information needed to create a new vehicle (maker, model, number of seats, mpg, and fuelCap) and then the user clicks the Save button, your program will do the following:
      1. show some alert warning to the user saying, “You forgot to enter <field name>”. To do a popup warning, look at how we did it in the Login project a couple of months ago. At that time, when you created a Login dialog where if the user forgot to enter an email or password, a warning popup will appear.
      2. prevent the popup from disappearing when the user doesn’t enter all fields. This popup should only disappear after the user enters all information in all fields. Or if the user clicks the cancel button.

Details

Date:
September 12, 2020
Time:
3:00 pm - 4:00 pm
Event Category: