louisgnarf
Programmer
OK, I'm not completely new to Java, and I have read a couple tutorials on tables...but I'm clueless on how to implement them in Swing. What I have is a class with a Swing interface, and in one of the panels I want to have a table which will have a static number of columns, but will be updated at runtime as far as data and number of row entries...how do I go about doing this? Where do I make my declarations of JTable, for example? What commands do I use to add data to them at runtime?