Menu.getMonitor

int getMonitor()

Retrieves the number of the monitor on which to show the menu.

Returns

the number of the monitor on which the menu should

be popped up or -1, if no monitor has been set