I'm using Eclipse as IDE on RHEL 6.5 with JDK 1.8
When I try to declare some object of JTable
, it doesn't find appropriate import package/class.
When I manually try to write import statement, it only shows up to javax.swing
, but it doesn't show JTable
there after.
import javax.swing.JTable;
public class JTableTest {
public static void main(String args[]) {
JTable obj1 = new JTable();
}
}
it only happens when using JTable other imports are not affected...