• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dynamically adding amount of objects in one jTable deppending on rows of another

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am basically creating a type of register where there is two JTables, the first JTable retrives data from a MYSQL database and the second JTable is just full of rows with a boolean tick box in it so that they can be classed as present or not. I have tryed a few things but so far nothing has worked and i am wondering if its something to do with my code for setting the amount of rows then porting them into JTable2:

Code used for creating the Object[][] in order to put into the JTable:


i am then just customising the code for the JTable model in Netbeans by using




any help on what im doing wrong?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic