--- old/tools/Jemmy/JemmyFX/src/org/jemmy/fx/control/ListItemWrap.java 2017-01-31 14:08:13.183901420 +0300 +++ new/tools/Jemmy/JemmyFX/src/org/jemmy/fx/control/ListItemWrap.java 2017-01-31 14:08:13.127900871 +0300 @@ -117,12 +117,12 @@ public void show() { final List items = listViewWrap.getItems(); - AbstractScroll scroll1 = Utils.getContainerScroll(listViewWrap.as(Parent.class, Node.class), listViewWrap.getControl().getOrientation() == Orientation.VERTICAL); + AbstractScroll scroll1 = Utils.getContainerScroll((Parent )listViewWrap.as(Parent.class, Node.class), listViewWrap.getControl().getOrientation() == Orientation.VERTICAL); if (scroll1 != null) { TableUtils.scrollToInSingleDimension((Wrap) viewWrap, ListCell.class, p -> items.indexOf(p.getItem()), listViewWrap.getItems().indexOf(getControl()), scroll1.caret(), listViewWrap.vertical()); } - AbstractScroll scroll2 = Utils.getContainerScroll(listViewWrap.as(Parent.class, Node.class), listViewWrap.getControl().getOrientation() != Orientation.VERTICAL); + AbstractScroll scroll2 = Utils.getContainerScroll((Parent )listViewWrap.as(Parent.class, Node.class), listViewWrap.getControl().getOrientation() != Orientation.VERTICAL); Utils.makeCenterVisible(getClippedContainerWrap(), this, scroll2); }