Thanks for the help about the links. I did already know about that showDocument line, so my question is mainly regarding the mouseListener and how to have it follow a single line down the scrollbar. Thanks in advance.