Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

loop through values combo box

 
Roger Swillens
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


In another class i get the ComboBox and i want to loop through the items.
I want to get the ArrayList but whit cb.getItems i get a ObservableList
wat i want
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't what you want more like this?



You can make that work by declaring the type of the ComboBox:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic