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

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

    XMLWordPrintable

Details

    • hopper
    • sparc
    • solaris
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: