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

Autoscroller performance improvements

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • None

      Autoscroller is currently rather heavy and could be improved by:
      . Making it a singleton thereby reducing a JComponent field and indirectly
        sharing the Timer that was contained in it.
      . Rather than have Autoscroller implement MouseListener JComponent should
        forward the mouse released event, thereby making it unnecessary for
        Autoscroller to implement MouseListener and be added as a MouseListener.
      . Make Autoscroller implement ActionListener instead of using an anonymous
        inner class.

            svioletsunw Scott Violet (Inactive)
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: