wood burning stoves 2.0*
The moose likes JavaFX and the fly likes loop through values combo box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "loop through values combo box" Watch "loop through values combo box" New topic
Author

loop through values combo box

Roger Swillens
Greenhorn

Joined: May 05, 2014
Posts: 6


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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Isn't what you want more like this?



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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: loop through values combo box
 
Similar Threads
How to find a number of instances of a particular String in a ArrayList but without using for loop
Combo box madness
Use Select box (combobox) value on same page
Looping through Multiple ArrayList's
Listener to call other component's listners