Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

[Java] Adding JPopupMenu to deeply embeded JPanels

Options
  • 25-03-2006 11:32pm
    #1
    Registered Users Posts: 383 ✭✭


    Having trouble getting a JPopupMenu appearing on deeply embeded JPanel. The mouse event is been fired, but just no popup :(


    JFrame
    |--> ContentPane
    ----|-->JPanel

    |-->JSplitPane

    |-->JTabbedPane

    |-->JScrollPane

    |-->Jpanel

    |-->Jpanel
    (This is the one that I want to have the popup menu on).

    Basically its a small Jpanel (100x100) that can be moved around inside a bigger JPanel. It is firing the mouse events, but the popup is just not showing, any suggestions?

    thx.


Advertisement