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

JComboBox using JPanel cell renderer does not work until Motif L & F

XMLWordPrintable

      Name: gm110360 Date: 05/05/2004


      FULL PRODUCT VERSION :
      1.4.2 and 1.5.0-beta
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      This bug is indentical to #4238829, except the posted fix for it, is broken under the Motif L & F, since the com.sun.java.swing.plaf.motif.MotifComboBoxUI overrides the paintCurrentValue() method buts does not implement the fix that was included in BasicComboBoxUI.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      I used the same workaround in my renderer as described in the workaround for bug #4238829.
      (Incident Review ID: 260988)
      ======================================================================

            Unassigned Unassigned
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: