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

REGRESSION 1.1.8H: KeyEvents broken at Appletviewer startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1.8
    • 1.1.8
    • client-libs
    • 1.1.8
    • x86
    • windows_95
    • Not verified



      Name: clC74495 Date: 02/26/99


      (This is release 1.1.8, build H - the page won't let me
      select that version)

      The below worked in 1.1.8G, but has broken in 1.1.8H.

      When starting up AppletViewer, KeyEvents are no longer delivered
      to lightweight components in an Applet. While the FocusManager
      is operable, and FocusEvents are being delivered, the KeyEvents
      are mistakenly being delivered to the AppletViewerPanel.

      To reproduce:
      Run the SwingApplet demo from Swing 1.1:
      1) appletviewer SwingApplet.html
      2) Hit the tab key.
      3) Hit the space key.

      In both 1.1.8G and 1.1.8H, the JButton appears to take
      focus. But the space key only depresses the JButton in
      1.1.8G; it does nothing in 1.1.8H.

      This is not a Swing bug - it happens with our lightweight
      components as well.
      (Review ID: 54707)
      ======================================================================

            rkhansunw Robi Khan (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: