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

setFocusable(false) is not moving the focus to next Focusable Component

    Details

    • Subcomponent:
    • Resolved In Build:
      hopper
    • CPU:
      sparc
    • OS:
      solaris
    • Verification:
      Verified

      Description

      In windows,Solaris and linux, if <component>.setFocusable(false) is called by
      the Focus Owner, Focus is retained with itself instead of transfering it to the next focusable component in the cycle.

      And a contradictory state arises as follows:

      <component>.isFocusable() is returning "false" ,but
      <component>.hasFocus() is returning "true"
      <component>.isFocusOwner() is returning "true"
      ==========================================================================
      java version "1.4.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b89)
      Java HotSpot(TM) Client VM (build 1.4.0-rc-b89, mixed mode)

      ==========================================================================

      Please try running the attached program "setFocusableTest.java".Its an automated test no manual intervention is required.



        Attachments

          Activity

            People

            • Assignee:
              son Oleg Sukhodolsky (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: