-
Committer:
Kenneth Yrke Jørgensen
-
Date:
2019-05-13 08:51:43 UTC
-
Revision ID:
kenneth@yrke.dk-20190513085143-5cqfmwq8ckcnndl7
Fixes bug 1828782 where scroll pane is moved when redrawing pnLable
Standard behavior for a JTextComponent is to move any parent JScroll list to the location of the label updated (See https://docs.oracle.com/javase/7/docs/api/javax/swing/text/JTextComponent.html)
setUpdatePolicy(DefaultCaret.NEVER_UPDATE) to disable this behaviour.