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

Popup frame/dialog from an appletviewer does not recognize mouse events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs
    • x86
    • windows_nt



      Name: skT88420 Date: 04/19/99


      ad 1) Start MouseBug.java with appletviewer. The north end of the
      JFrame is the area, where all mouse click events are ignored.
      Area height is ~20 pt, area width total screen width.
      Also if I move the JFrame, the inactive area dont move
      relative to the screen.

      ad 2)
      import javax.swing.*;
      import java.awt.*;

      /*
      <applet code=MouseBug.class width=500 height=400>
      </applet>
      */

      public class MouseBug extends JApplet
      {
        public void init()
        {
          JFrame frame = new JFrame();
          frame.setLocation(new Point(0,270));
          frame.setSize(400,300);
          frame.setVisible(true);
        }
      }

      ad3 and ad 4) no error and trace messages

      ad5) I have tried this on two different screens. I have the same
      problem with javaplugin 1.1.2 (jdk1.1.7B and swing 1.1).
      With a JDialog I have the same effect.
      (Review ID: 52942)
      ======================================================================

            Unassigned Unassigned
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: