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

MetalComboBoxUI always reports isFocusTraversable as false.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.2
    • client-libs



      Name: skT88420 Date: 01/10/2000


      java version "1.2.2"
      Classic VM (build JDK-1.2.2-001, native threads, symcjit)

      The help for MetalComboBoxUI states:

      isFocusTraversable
      public boolean isFocusTraversable(JComboBox c)
        Description copied from class: BasicComboBoxUI
      Determines if the JComboBox is focus traversable. If the JComboBox is editable
      this returns false, otherwise it returns true.
      Overrides:
      isFocusTraversable in class BasicComboBoxUI

      --------------------------------------------------------------------------------

      yet the method is implemented as...

          public boolean isFocusTraversable( JComboBox c ) {
              return false;
          }

      which, of course, does not check the object for editability.
      (Review ID: 99428)
      ======================================================================

            mdavidsosunw Mark Davidson (Inactive)
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: