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

Use reflection to access ScrollPane's private method from within sun.awt package

    XMLWordPrintable

Details

    • b01
    • generic
    • windows_2000
    • Verified

    Description

      WScrollPane$Adjustor.run invoke native setTypedValue(adj, newpos, type) method to access java.awt.ScrollPaneAdjustable.setTypedValue(int v, int type) method which is private.
      Should use reflection API to do that. See awt_ScrollPane.cpp for native method body.

      Attachments

        Activity

          People

            serb Sergey Bylokhov
            dav Andrei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: