Hello everyone,
I am working on a program right now and part of the idea involves
a pop-up menu.

What I need is something like:

A small box in the program,
On MouseOver small box, small pop-up menu opens up next to the small box,
On MouseOver menu option 1, a sub-menu opens next to pop-up menu

So, I'm sure this can be done, but I don't know how.

Any tips or advice would be very much appreciated!

Thanks in advance!


if it's a jFrame you want to show and hide when clicked on a button,
add the right events triggered by the button, and call the setVisible(boolean) function.

This question has already been answered. Start a new discussion instead.