Link to home
Start Free TrialLog in
Avatar of xiaoxiangz
xiaoxiangz

asked on

popup menu?

Hi, in my code, I tried to popup a menu after button is
clicked. I just cannot get it work. In the mouse listen
I have code popup.show(this, e.getX(), e.getY());
the runtime error is "parent is null". What should I do?
Can sb. give me working sample code?
Thanks.
Shane
ASKER CERTIFIED SOLUTION
Avatar of milen_n
milen_n

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial