ViewPort « JTextArea « Java Swing Q&A





1. Multiple viewports onto the same JTextArea?    stackoverflow.com

There is a component I would like to make which shows all matches of a set of words in a JTextArea, along with some context (N lines, probably user-configurable.) I already have ...