American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM – Intro To Java

May 30, 2020 @ 3:00 pm - 4:00 pm

  1. We continued with understanding JavaFX.
    1. We learned what the FXML file is used for.
    2. We learned what does Containers means
    3. How to connect Button in the FXML file with the controller Java code.
  2. Homework:
    1. Inside the sample.fxml
      1. Add FlowPane into the left side of GridPane
      2. Add a new Button into the FlowPane that you just added.
      3. Change the label of the Button to be “Do Something”
    2. Inside the Controller.java
      1. Create a new method “handleDoSomething(ActionEvent ae)”
      2. When this method is called, the Label in the middle will say “Hip hip Hurray”.

Details

Date:
May 30, 2020
Time:
3:00 pm - 4:00 pm
Event Category: