tools/Jemmy/JemmyFX/src/org/jemmy/fx/control/MenuButtonWrap.java

Print this page

        

*** 95,105 **** * @see MenuBarWrap#asMenuOwner() */ @As(MenuItem.class) public StringMenuOwner<MenuItem> asMenuOwner() { if (menuOwner == null) { ! menuOwner = new StringMenuOwnerImpl(this, this.as(Parent.class, Menu.class)) { @Override protected void prepare() { if (!isShowing()) { mouse().click(); --- 95,105 ---- * @see MenuBarWrap#asMenuOwner() */ @As(MenuItem.class) public StringMenuOwner<MenuItem> asMenuOwner() { if (menuOwner == null) { ! menuOwner = new StringMenuOwnerImpl(this, (Parent <Menu>)this.as(Parent.class, Menu.class)) { @Override protected void prepare() { if (!isShowing()) { mouse().click();