I don't think so. I have created popup as well as menu item. In fact
you should create a common class and use that for any user interface. If we do that way same code will not repeat in two or three user interface and give us more mark on OO design and GUI same time.
SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1