In a Swing application, I sometimes need to support read-only access to large, line-oriented text files that are slow to load: logs, dumps, traces, etc. For small amounts of data, a [suitable](http://docs.oracle.com/javase/tutorial/uiswing/components/text.html) `Document` and `JTextComponent` are fine, as shown [here](https://stackoverflow.com/a/14011536/230513). I understand the human limitations of browsing large amounts of data, but the problematic stuff seems like it's always in the biggest file. Is there any practical alternative for larger amounts of text in the 10-100 megabyte, million-line range?