Popup Menu
2 posts
• Page 1 of 1
Popup Menu
Do you have an example of a popup menu?
- Garantisoft
- Posts: 16
- Joined: Wed Aug 17, 2011 3:26 pm
Re: Popup Menu
Show a popup as you would do it with other technologies, for example:
- Code: Select all
..
component.eventMouseClicked().addListener(this, "doPopup");
public void doPopup(UIMouseEvent pEvent)
{
UIPopupMenu pop = new UIPopupMenu();
pop.add(new UIMenuItem("Details"));
pop.show(pEvent.getSource(), pEvent.getX(), pEvent.getY());
}
- rjahn
- Posts: 41
- Joined: Sun Sep 13, 2009 1:54 pm
2 posts
• Page 1 of 1