Viewport position not adjusted in JScrollPane

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.1
    • Component/s: client-libs



      Name: vi73552 Date: 05/21/99


      ScrollPaneUI implementation class BasicScrollPaneUI in package
      javax.swing.plaf.basic has method
      protected void syncScrollPaneWithViewport()

      which adjusts the viewports. Unfortunately, it only adjusts
      the position of rowHeader and columnHeader based on the
      current position of main Viewport. But, if a JTable is placed
      in the rowHeader, and a partially visible row is clicked on,
      the JTable will scroll on its own to make the selected row
      completely visible - but the main viewport's position doesn't
      change.
      The ViewportChangeHandlers should be installed for row and column header
      viewports (they aren't right now) so that position of the main
      viewport can be adjusted appropriately when their position
      changes.
      --------------------------------------
      > Could you please send us the complete source code to a test case that
      > can be used to reproduce this bug.

      What is the problem? There is no source code. I gave you precise definition
      of what the problem is and where is occurs in term of lines in your own Swing
      source files.
      Don't you know how to read the code to validate the problem occurs??????

      I cannot include my whole test case as it is proprietary.



      (Review ID: 57639)
      ======================================================================

            Assignee:
            Scott Violet (Inactive)
            Reporter:
            Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: