JDK-4103350 : Java VM does not exit after closing window
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1.5
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1998-01-12
  • Updated: 2001-11-16
  • Resolved: 2001-11-16
Related Reports
Duplicate :  
Description

Name: joT67522			Date: 01/12/98


public class L implements java.io.Serializable {

/* ============================================================ */

    public static void main(String[] args) {
        new N();
System.err.println(" DONE");
    }
}


-----------

import com.sun.java.swing.*;
import java.awt.*;
import java.awt.event.*;

public class N implements java.io.Serializable {
JFrame frame;
public N()
 {
  frame=new JFrame("TEST");
  frame.getContentPane().add(new JLabel("TEST2 "));
  /* window closer */
  frame.addWindowListener(
    new WindowAdapter() {
        public void windowClosing(WindowEvent e) {
          frame.dispose();
        }
    });
   frame.pack();
   frame.show();
 }
}


Clicking on Close of the window
the windows closes but java VM does not exit.
(Review ID: 22629)
======================================================================

Comments
EVALUATION Probably a dupe of 4030718. eric.hawkes@eng 2000-05-04
04-05-2000