Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Create Combo Box
- ComboBox<String> combo = new ComboBox<String>();
- // Add Items
- String[] items = { "One", "Two", "Three" };
- combo.getItems().addAll(items);
- // List containing the items
- List<String> content = combo.getItems();
- for (String string : content) {
- // ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement