Java Arena

Module 48

GUI: windows, components and layouts

Programs with windows, written with JavaFX. An Application and its start method, the window (a Stage) and the Scene it shows, labels, buttons, text fields and text areas, the layouts FlowPane, BorderPane, HBox, VBox and GridPane, spacing, padding and alignment, and windows built from layouts inside layouts. MOOC sections 13.1 and 13.2.

Steps

  1. A first window
  2. Scene, layout and components
  3. Text fields and text areas
  4. BorderPane: five regions
  5. HBox, VBox, spacing and GridPane
  6. Layouts inside layouts