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

The JList need add a property to do the correct selection

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.2
    • client-libs



      Name: rmT116609 Date: 04/28/2004


      A DESCRIPTION OF THE REQUEST :
      The JList handle selection when the mouse point match the closest cell by default, need a property to do the exactly match.

      JUSTIFICATION :
      This is very important for the JList.VERTICAL_WRAP and JList.HORIZONTAL_WRAP layout orientation.

      When use JList in above layout orientation, press the blank area in JList, the JList always select the last cell, this is not expected for user.


      CUSTOMER SUBMITTED WORKAROUND :
      Overide the BasicListUI class and copy all code, since all methods that do selection is private access.
      (Incident Review ID: 260258)
      ======================================================================

            shickeysunw Shannon Hickey (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: