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

problem with focus on javahelp window

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description



      Name: jl125535 Date: 10/25/2002


      FULL PRODUCT VERSION :
      java version "1.3.1_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
      Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)

      We cannot use 1.4 in our environment.

      Microsoft Windows NT 4.00.1381


      ADDITIONAL OPERATING SYSTEMS :
      Windows 2000


      A DESCRIPTION OF THE PROBLEM :
      Use the TAB key to move the focus on a JavaHelp window:
      when the focus goes on the contents area press TAB key
      again: there is no way to move the focus from the contents
      area without using the mouse.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1.Open a Java help window
      2.Press the TAB key until the focus goes on the contents
      area
      3.Press TAB key again

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      After step 3 the focus should return on the first enabled
      JavaHelp window component (i.e previous or back button)

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Exception occurred during event dispatching:
      java.lang.NullPointerException
      at
      javax.swing.text.DefaultEditorKit$NextVisualPositionAction.actionPerformed(Defa
      ultEditorKit.java:1444)
      at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1384)
      at javax.swing.JComponent.processKeyBinding(JComponent.java:2078)
      at javax.swing.JComponent.processKeyBindings(JComponent.java:2104)
      at javax.swing.JComponent.processKeyEvent(JComponent.java:2041)
      at javax.swing.JTextArea.processKeyEvent(JTextArea.java:506)
      at java.awt.Component.processEvent(Component.java:3553)
      at java.awt.Container.processEvent(Container.java:1164)
      at java.awt.Component.dispatchEventImpl(Component.java:2593)
      at java.awt.Container.dispatchEventImpl(Container.java:1213)
      at java.awt.Component.dispatchEvent(Component.java:2497)
      at java.awt.LightweightDispatcher.processKeyEvent(Container.java:2155)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2135)
      at java.awt.Container.dispatchEventImpl(Container.java:1200)
      at java.awt.Window.dispatchEventImpl(Window.java:926)
      at java.awt.Component.dispatchEvent(Component.java:2497)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
      at
      java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:
      131)
      at
      java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98
      )
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      A test case usefull to reproduce the problem is JHLauncher.java class included
      in the JavaHelp demos.
      ---------- END SOURCE ----------
      (Review ID: 164995)
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              peterz Peter Zhelezniakov
              Reporter:
              jleesunw Jon Lee (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: