java - JavaFX List View with Scene Builder -
you would, in controller class, this:
package my.app; /* imports... */ public class loremipsumlistviewcontroller { @fxml private listview list; /** * @see javafx.fxml.initializable */ /* no need @fxml here, see documentation initializable */ public void initialize() { // initialize view here (add data, add listeners list, etc...) } } - the
listviewbeing injected@fxmlfieldlist. initialize()called fields have been injected. consult documentationinitializablemore details.
Comments
Post a Comment