This may seem very basic to some of you. But since it is the first time I am new to
Java I would like to know what could be done to fix my problem.
I am writing code to create JTable and it compiles fine but when I run it this is the error message:
Exception in
thread "main" java.lang.NoClassDefFoundError:suncertify\db\FbnModel (wrong name suncertify/db/FbnModel)
Here are some snippets
public class FbnModel extends JFrame
{
...
public void FlyTableModel() throws IOException
{
.....
}
class FlyTableModel extends AbstractTableModel
{
}
public FbnModel()
{
FlyTableModel model = new FlyTableModel();
JTable table = new JTable(model);
}
public static void main(
String[] args)
{
FbnModel frame = new FbnModel();
frame.pack();
frame.
}
}
Any hints would be appreciated
Krishnan