I'm trying to declare a JTable, using the following code.
When I compile the code that has this, I am provided the following error.Code:final int SIZE = 100; String DetailS[] = new String[SIZE]; String JTableLabelS[] = new String[SIZE]; JTable jt = new JTable(DetailS,TableLabelS);
Code:homeworkJava.java:38: cannot find symbol symbol : constructor JTable(java.lang.String[],java.lang.String[]) location: class javax.swing.JTable JTable jt = new JTable(Details,TableLabelS); ^