Set graphviz layout, try input written here. It draws long automaton to the right (thats fine, exactly what we want), but visualizer is not horizontally scrollable!
<entry>
<key>
<value>Hururu</value>
<value>Hururu</value>
<value>Hururu</value>
<value>Hururu</value>
<value>Hururu</value>
</key>
<key>
<value>Hururu</value>
<value>Hururu</value>
</key>
<key>
<value>Hururu</value>
<value>Hururu</value>
<value>Hururu</value>
</key>
<key>
<value>Hururu</value>
<value>Hururu</value>
<value>Hururu</value>
<value>Hururu</value>
</key>
<table>
<key>
<table>
</table>
</key>
<key>
<table>
</table>
</key>
<key>
<table>
</table>
<table>
</table>
<table>
</table>
<table>
</table>
</key>
</table>
<table>
<key>
<table>
</table>
</key>
</table>
<table>
<key>
<table>
</table>
</key>
</table>
<table>
<key>
<table>
</table>
</key>
</table>
</entry>
Despite setting a correct size to the Layout, scrollbar often does not appear. In this case try to zoom a little. Usually, it helps and the scrollbar suddenly appears.
Try to solve this problem by upgrading JUNG to a newer version.