Documentation



Send Feedback | Print | PDF | ePub | Mobi
JavaFX Scene Builder: Getting Started with JavaFX Scene Builder

5 Bind the GUI to the Application Logic

This chapter describes the steps to bind the FXML layout you are building with JavaFX Scene Builder to the source controller file that has been provided with the IssueTrackingLite sample.

The controller source file, IssueTrackingLiteController.java, manages the events and actions taken on each element you add to the FXML GUI layout that you are building. Setting the controller class file name enables Scene Builder to provide you with the names of the event handlers and instance variables that are declared in the controller source file.

  1. In the Document panel, select the Controller section.

  2. Set the value in the Controller class text field to issuetrackinglite.IssueTrackingLiteController by selecting it from the drop-down list of available values.


Facebook Twitter RSS Feeds
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices

AltStyle によって変換されたページ (->オリジナル) /