Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Size property for an ObservableList

boomahMay 8 2012 — edited May 9 2012
Hi all.

I'm probably doing something stupid but I can't find the size property of an ObservableList.

I want to do something like this:
tabPane.getSelectionModel().selectedIndexProperty().greaterThan(tabPane.getTabs().sizeProperty())
so that I get a BooleanBinding that is false if the last tab is selected, true otherwise.

sizeProperty doesn't seem to exist though. Any one got any ideas how I can do this?

Thanks, Nick.
This post has been answered by Richard Bair-Oracle on May 8 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 6 2012
Added on May 8 2012
3 comments
506 views