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

AccessibleValue: wrong maximum value with BoundedRangeModel components

XMLWordPrintable



      Name: ssT124754 Date: 03/06/2001


      java version "1.3.0_02"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
      Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)


      The BoundedRangeModel component (JScrollBar, JSlider, JProgressBar) return
      BoundedRangeModel.getMaximum() from getMaximumAccessibleValue() in their
      AccessibleValue implementation.
      The real maximum value (due to the constraints on BoundedRangeModel) is
      model.getMaximum() - model.getExtent(). That should be returned instead.
      (Review ID: 118149)
      ======================================================================

            lmonsantsunw Lynn Monsanto (Inactive)
            ssultanasunw Shaheen Sultana (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: