It seems that issuing setResizable(false) on a JFrame() causes the GUI
to flash for a moment but disappear:

            JFrame jFrame = new JFrame("setResizable bug?");
            Dimension d = new Dimension(400, 300);
            jFrame.setSize(d);
            jFrame.getContentPane().setLayout(new BorderLayout());
            jFrame.addWindowListener(
                new WindowAdapter() {
                    public void windowClosing(WindowEvent e) {
                        System.exit(0);
                    }
                }
            );
            jFrame.setVisible(true);


This code appears to work fine on Windows and Solaris, but is breaking
on the linux 1.2.1 VM.

Marty


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to