I am developing an application like financial, in which i will get thousand of data in every 2 seconds from stock market. Someone wrote this application but it was taking so much time in performing some activity on jtable. So now it is assign me. I am plannign that: let say an object send me new or updated data named as "Data"
What ever Data object send me data i store it into HashMap. than i am store this Data object into ArrayList and pass it to JTable
So, whenever user scroll the scroll bar i called that Data information from HashMap.
My Quesiton is this the right approach i am taking. Can anyone please advice me in this situation.
thanks in advance
I dont know whether this is the right way to ask but if someone help me out in this reagrd or already gown thorugh this type of situation...