How to create PopUp window

59 views
Skip to first unread message

Eyal Muchtar

unread,
Dec 18, 2013, 5:22:04 AM12/18/13
to codenameone...@googlegroups.com
Hi,
In my application i have to create a pop up window that float over scrollable component.
The pop up window must be shown near the point pressed position.
How it can be done?
Thanks and have a nice day,
Eyal.

Chen Fishbein

unread,
Dec 18, 2013, 8:29:17 AM12/18/13
to codenameone...@googlegroups.com
Hi,

You can do this:

            final Dialog popup = new Dialog();
            ....
            //c is the Component you would like to show the popup on.
            popup.showPopupDialog(c);

Reply all
Reply to author
Forward
0 new messages