• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

Need Suggestion For Huge Data in JTable

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Everyone,

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...

thanks
 
Opportunity is missed by most people because it is dressed in overalls and looks like work - Edison. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic