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,430
  • 4
  • 39
  • 67
user3912886
  • 53
  • 2
  • 9

0 Answers0