RE: Error DefaultEDTUtil.class

Posted by Pixelapp on
URL: https://forum.jogamp.org/Error-DefaultEDTUtil-class-tp4025181p4025207.html

This is how I do it.

public class Wavelogy implements GLEventListener
{
        public static void main(String[] args)
        {
                try
                {
                        //Schedule a job for the event dispatch thread:
        //creating and showing this application's GUI.
        SwingUtilities.invokeAndWait(
                  new Runnable()
                  {
            public void run()
                                        {
                new Wavelogy();
            }
        }
                                );
                }
                catch (Exception e)
                {
                        System.out.println("Couldn't start program.");
                }
        }
}

What is it that you mean gouessej?