• 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic