Strange Java behaviour

Aryeh Friedman aryeh.friedman at gmail.com
Thu Sep 20 19:31:18 PDT 2007


On every JDK (linux-sun-jdk14,jdk15,diablo-jdk15,linux-sun-jdk16 and
jdk16) I have tried this on it opens the JFrame then just dies
(immediatly):

import javax.swing.JFrame;

public class Main
{
        public static void main(String[] args)
        {
                JFrame frame=new JFrame();

                frame.pack();
                frame.setVisible(true);

                while(true)
                        ;
        }
}

I am using FreeBSD 7-Current with xorg 7.3 (gnome)


More information about the freebsd-questions mailing list