java - JavaFX List View with Scene Builder -


http://prntscr.com/9w1fvn

anyone can tell me why it's not working?

http://prntscr.com/9w1gc1

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 listview being injected @fxml field list.
  • initialize() called fields have been injected. consult documentation initializable more details.

Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -