Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4422378

ActiveX Test Container Does Not Exit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 1.3.0_01
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_95

      Description



      Name: boT120536 Date: 03/06/2001


      java version "1.3.0_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01)
      Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode)

      After dropping a bean packaged with the ActiveX bridge into the Visual Studio
      6.0 ActiveX test container, the container process will not exit. The GUI goes
      away, but the process continues to run. The bean I'm using is attached below.

      import java.awt.*;
      import java.awt.event.*;
      import javax.swing.*;
      import java.io.*;

      public class TestKill extends JPanel
      implements ActionListener, Serializable
      {

          public TestKill() {
              JButton button = new JButton("Publish");
              button.addActionListener(this);
              _pane = new JEditorPane();
              JScrollPane scroller = new JScrollPane(_pane);
              setLayout(new BorderLayout());
              add(scroller,BorderLayout.CENTER);
              add(button,BorderLayout.SOUTH);
          }

          public void actionPerformed(ActionEvent e) {
              _pane.setContentType("text/html");
              _pane.setText(_text);
          }

          private JEditorPane _pane;

          private String _text = "<html><body></body></html>";

      }
      (Review ID: 116619)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmelvin James Melvin (Inactive)
              Reporter:
              bonealsunw Bret O'neal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: