-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.4.0
-
None
-
sparc
-
solaris_7
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.
. 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.
- duplicates
-
JDK-4864304 Improve memory consumption of Swing apps
-
- Resolved
-