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

Allow custom placement of vertical scrollbar for JScrollPane

XMLWordPrintable

    • Fix Understood
    • generic
    • generic

      Name: krT82822 Date: 12/14/98


      Original user synopsis: "Scrollbar placement on ScrollPane and JScrollPane"

      Your ScrollPane and especially JScrollPane
      classes are great. However, I have an interface
      where the vertical scrollbar of the scrollpane
      needs to be along the lefthand edge instead of
      the right. I could kludge in an independent
      vertical scrollbar and hook it up to the scrollpane,
      setting the verticalScrollBarPolicy to NEVER,
      but I'd rather not.

      Another scrollpane property, called
      verticalScrollBarPlacement,
      or whatever, with the default value "RIGHT" and
      allowing the value "LEFT" would be great.

      If you decide to add this feature, you might as
      well create a corresponding property for the
      horizontalScrollBar.

      These will of course affect placement of row and
      column headers, which will always be on the opposite
      side of the scrollpane from the respective
      scrollbar. I can't think of any other complications
      that would arise from this added feature.

      Thanks!
      (Review ID: 36751)
      ======================================================================

            Unassigned Unassigned
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: