I am developing a java application which will be graphically depicting and organizing hundreds of objects. Each of these objects is loaded in from a SQL database, for use in this program.
I plan to keep a local copy of all the data, retrived through a JDBC
connection, and then sort it locally (Likely with Merge Sort
as that is my favorite)
How would you recommend I store the data locally? Ideally, it would be very easy to traverse, sort and compare to the source Database.
Currently, I have objects called Ideas
which are populated from the database. Then, to display them, I create the same number of IdeaGraphics
objects and add them to the appropriate JPanels. This can be quite slow at times.