To be more specific, once you provide access to the MenuBar in your subclass via something like:
public native MenuBar getPrivateMenuBar() /*-{
}-*/;
you should be able to do:
getPrivateMenuBar().getSelectedItem().getElement().scrollIntoView();
Oh, but getSelectedItem() is protected! In that case I would just chain them both in a native method. So in your subclass add:
public native MenuItem getSuperSecretSelectedMenuItem() /*-{
}-*/;
Anyone know the rationale behind making getItems() and getSelectedItem() protected in MenuBar?
-Andy