• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

JTable problem

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi!

i've following problem:

i have 2 hashtable with products. one for official products, one for own products.
then i have 2 tables, one for the officials, one for the own products.

a third table shows special offer products. these are products from the other tables. now i can change values in the 3rd table and the values should also be changed in the others.

my problem - the gui is very slow. if i look to the other tables, they just show checkboxes (renderer) after one or two seconds. the problem is, that i have to set the tablevalues new, after changing a value. so i have 10000 products (rows) with 13 columns and for each changed value i have to make an array with these products from the hashmap.

is there an easier way? i hope so, because all the time building an array from a hashmap is not opti ;-)

regards
martin
 
Ranch Hand
Posts: 1078
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why do you have to reset all table values and not just the one that changed?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic