This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I have a class FlyTableModel I have put it in the suncertify.db package but methods not found also I will include my errors with this class when I compile...How do I get the reference to DataClass
} errors////////////////////////////////////errors///// C:\scjd\starting\suncertify\db\FlyTableModel.java:13: Exception java.io.IOException can't be thrown in initializer. Data fly = new Data("db.db"); ^ C:\scjd\starting\suncertify\db\FlyTableModel.java:16: Method getFieldInfo() not found in class suncertify.db.FlyTableModel. return getFieldInfo().length; ^ C:\scjd\starting\suncertify\db\FlyTableModel.java:23: Method getRecordCount() not found in class suncertify.db.FlyTableModel. return getRecordCount(); ^ C:\scjd\starting\suncertify\db\FlyTableModel.java:29: Undefined variable or class name: valueDInfo String[] values = (String[])valueDInfo.toArray(new String[0]); ^ C:\scjd\starting\suncertify\db\FlyTableModel.java:31: [] can only be applied to arrays. It can't be applied to java.lang.String. return values[row][col]; ^ C:\scjd\starting\suncertify\db\FlyTableModel.java:39: Method getFieldInfo() not found in class suncertify.db.FlyTableModel. return getFieldInfo()[col].getName(); ^ 6 errors Process completed with exit code 1 Thanks in Advance Ray also when I want to populate my JTable from the client is this appropiate::::::given my above class::::: FlyTableModel model = new FlytableModel(); JTable table = new JTable(model);