# Scroll bar is slow

**URL:** <https://forum.inductiveautomation.com/t/scroll-bar-is-slow/5043>\
**Category:** Ignition\
**Created:** [August 22, 2012, 5:57pm UTC](https://forum.inductiveautomation.com/t/scroll-bar-is-slow/5043 "2012-08-22T17:57:52Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [July 27, 2017, 2:23pm UTC](https://forum.inductiveautomation.com/t/scroll-bar-is-slow/5043/7 "2017-07-27T14:23:42Z")

</div>

Template Repeater

```auto
from javax.swing import SwingUtilities
from javax.swing import JScrollPane

scrollPane = SwingUtilities.getAncestorOfClass(JScrollPane, event.source.parent.getComponent('Template Repeater').getComponents()[1].getComponents()[2])

scrollPane.getVerticalScrollBar().setUnitIncrement(30) #scroll amount for wheel and arrows
scrollPane.getVerticalScrollBar().setBlockIncrement(30) #scroll amount clicking on scrollbar itself

```

Template Canvas

```auto
from javax.swing import SwingUtilities
from javax.swing import JScrollPane

scrollPane = SwingUtilities.getAncestorOfClass(JScrollPane, event.source.parent.getComponent('Template Canvas').getComponents()[2].getComponents()[0])

scrollPane.getVerticalScrollBar().setUnitIncrement(30) #scroll amount for wheel and arrows
scrollPane.getVerticalScrollBar().setBlockIncrement(30) #scroll amount clicking on scrollbar itself

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/scroll-bar-is-slow/5043)._
