Answer the question
In order to leave comments, you need to log in
Why time is not considered and because of this the table file grows and how to correct the output in JPane?
Good afternoon!
I can’t find where the error is over time, possibly related to the stack. Due to its incorrect accounting, the file grows very quickly and becomes sized in GB. And I can’t display the file in JPane.
If anyone can help, thanks.
Classes over 10,000 characters, so I can’t lay out the text.
https://drive.google.com/file/d/1DBbp1XiSElDA9ox2g...
Answer the question
In order to leave comments, you need to log in
It's unclear what you're going to do inside here. If you load a gigabyte file into one text-control, then of course it will not work. Controls are not designed for this. They don't store gigabytes because memory is expensive for the application.
FileReader reader = new FileReader("table.txt");
BufferedReader br = new BufferedReader(reader);
//jTextArea1.read(br, null);
//jTextArea1.requestFocus();
br.close();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question