Login  Register

Re: Newt and JpopUpMenu

Posted by elect on Jan 13, 2014; 9:23am
URL: https://forum.jogamp.org/Newt-and-JpopUpMenu-tp4031144p4031184.html

Found the issue

The problem is the thread...

if I run this, no problem

if (me.getModifiers()==MouseEvent.BUTTON3_MASK)
        {
//            EC_GUI.main.hub.popUp(x, y);
            SwingUtilities.invokeLater(new Runnable() {

                @Override
                public void run() {
                    EC_GUI.main.hub.popUp();
                }
            });
           
        }