These are my imports, which are the same ones in the sample program, plus a few for other uses:
import java.awt.event.* ;
import java.awt.* ;
import javax.swing.* ;
import javax.swing.table.* ;
import java.io.* ;
import java.net.* ;
import java.util.regex.* ;
import javax.swing.table.AbstractTableModel ;
I still get an error at compile time:
"cannot find symbol class TableSorter"
This is where I got stuck before, and assumed I was doing something fundamentally wrong. Since I now know it's fundamentally right, I'm completely confused!
I have terrible luck with finding code samples using Google... no idea why, or I'd do things a little differently and actually _find_ what I want!
f:\Xinox Software\JCreatorV3LE\MyProjects\TSRAutomation\src\TSRTablePanel.java:21: cannot find symbol
symbol : class TableSorter
location: class TSRTablePanel
TableSorter sorter = new TableSorter(new TSRTableModel());
^
f:\Xinox Software\JCreatorV3LE\MyProjects\TSRAutomation\src\TSRTablePanel.java:21: cannot find symbol
symbol : class TableSorter
location: class TSRTablePanel
TableSorter sorter = new TableSorter(new TSRTableModel());
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
f:\Xinox Software\JCreatorV3LE\MyProjects\TSRAutomation\src\TSRTablePanel.java:58: cannot find symbol
symbol : class TableSorter
location: class TSRTablePanel
TableSorter sorter = new TableSorter(new TSRTableModel());
^
f:\Xinox Software\JCreatorV3LE\MyProjects\TSRAutomation\src\TSRTablePanel.java:58: cannot find symbol
symbol : class TableSorter
location: class TSRTablePanel
TableSorter sorter = new TableSorter(new TSRTableModel());
^
2 errors
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.