0
How can Manage run speed in main form java?
In my application I have many list that fill from database and show in table, textfeild, comboboxes and etc. How can manage these getting data in my code to improve speed of run in main form?
2 Answers
+ 3
1. Don't display all data at once. Split it into easy to use tabs, which will load dynamically, to relieve RAM usage.
2. Experiment with threading, and see if it helps in your case
3. Usually, you can use different ways of reading a file for a specific case to speed things up. For example, you don't need to load the whole data to memory, if you only wish to display a part of it. I hope you get what I mean.
Oh, and it all depends on the size of data, and the type of it. So keep that in mind :)
0
can you help me with example please?
is any way to store some small data in application without using database like preferences?
can save preferences file inside java project directory?