How can I scroll the TextArea from an independent scrollbar in the same manner as its own scrollbar would scroll it?

John Zukowski

The TextArea component does not expose this, as the scrollbar is part of the native component.

If you can, consider using the JTextArea component which exposes this, allowing you to share the model between the JScrollBar of the JScrollPane that the JTextArea is within and your external JScrollBar.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact