GeeCON Prague 2014*
The moose likes Swing / AWT / SWT and the fly likes Dynamically adding amount of objects in one jTable deppending on rows of another Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Dynamically adding amount of objects in one jTable deppending on rows of another" Watch "Dynamically adding amount of objects in one jTable deppending on rows of another" New topic
Author

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

Scott Hague
Greenhorn

Joined: Feb 03, 2011
Posts: 1
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?
 
GeeCON Prague 2014
 
subject: Dynamically adding amount of objects in one jTable deppending on rows of another