-
Bug
-
Resolution: Fixed
-
P4
-
7u6
Quote (http://docs.oracle.com/javafx/2/api/index.html):
"As mentioned, like the Menu API itself, you'll find an items ObservableList within which you can provide any type of Node, although it is recommended to only insert controls that extend from MenuItem."
In contrast to that, items accepts MenuItem elements only:
public final ObservableList<MenuItem> getItems()
"As mentioned, like the Menu API itself, you'll find an items ObservableList within which you can provide any type of Node, although it is recommended to only insert controls that extend from MenuItem."
In contrast to that, items accepts MenuItem elements only:
public final ObservableList<MenuItem> getItems()