1

I want to load large text file quickly in a JTextArea using Swing components. I tried to load a 100MB file, and it loads within seconds. But when I try to load more than a 200MB file, it takes more than 5 minutes.

How can I load large data files? For reading I use a BufferedReader and to display I use the setText() method from JTextArea.

chiastic-security
  • 20,131
  • 3
  • 36
  • 65
user3912886
  • 53
  • 1
  • 8

0 Answers0