This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I have a JTable which has the constructor as myModel tableMap = new myModel(rows, colHeads); jtable = new JTable(tableMap);
The rows is a vector of vectors with data like [[Tom, 2343453456, JAVA, 20],[RITA, 4323453456, JAVA, 21]]
colHeads is the column headings like [Name, Telephone, SkillName, Duration]
I add this JTable to the scrollerPane and the scrollerPane to JPanel and then add the JPanel to the mainPanel. Problem is I'm not able to see the JTable. I am not sure what may be the reason. Any help is appreciated.