You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to have a means to retrieve the instance of the ContextMenu object which has previously been attached to given Component, e.g. public static ContextMenu ContextMenu.getContextMenuOf(Component) or public static MenuManager.get(Component).
The use-case is that with the Karibu-Testing library, it may be helpful to click on a particular context menu item with given caption, to test particular action.
The text was updated successfully, but these errors were encountered:
Yes that would be great, I've just hit that exact problem.
I have a Button which is the target of a context menu. The context menu is opened via a left click. I can find the the button but can't seem to find a way of finding conestmenu in the text.
It would be great to have a means to retrieve the instance of the
ContextMenu
object which has previously been attached to given Component, e.g.public static ContextMenu ContextMenu.getContextMenuOf(Component)
orpublic static MenuManager.get(Component)
.The use-case is that with the Karibu-Testing library, it may be helpful to click on a particular context menu item with given caption, to test particular action.
The text was updated successfully, but these errors were encountered: