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

4799919: RFE: Make BasicTabbedPaneUI.requestFocusForVisibleComponent protected

XMLWordPrintable

    • generic, x86
    • generic, windows_xp

      Name: jk109818 Date: 01/07/2003


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

      A DESCRIPTION OF THE PROBLEM :

      It would be nice to be able to override the default
      behaviour.

      The only choices the current implementation leaves is
      a) to setFocusable(false) for each Component in the
      JTabbedPane (which would end in a nice call to
      requestDefaultFocus but interferes with the
      DefaultFocusTraversalPolicy)
      b) to override requestFocus() for each Component I
      want to place in a JTabbedPane.




      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      The only possibility I see is to create a new LookAndFeel
      which overrides the JTabbedPane-UI-Class.
      (Review ID: 178529)
      ======================================================================
      ###@###.### 10/12/04 18:22 GMT

            Unassigned Unassigned
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: