Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2007 02:31:16 +0000
From:      "Aryeh Friedman" <aryeh.friedman@gmail.com>
To:        "FreeBSD Mailing List" <freebsd-questions@freebsd.org>
Subject:   Strange Java behaviour
Message-ID:  <bef9a7920709201931x15cec9ddq21c080aca45d3de8@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bef9a7920709201931x15cec9ddq21c080aca45d3de8>