• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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
 
Can you smell this for me? I think this tiny ad smells like blueberry pie!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic