Hey guys.
I am trying to populate a table in a model and the data either doesn't display all the data or in gives me the error when i run the program.
error:
Exception in
thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation problem:
Type mismatch: cannot convert from dataModel[] to dataModel
Here is the code that is giving me the errors
public dataModel[]loadAIM(
String keys[]) throws AccessControlException, ClientControllerException {
dataClientController dcc =
new dataClientController();
try{
return dcc.fetchDataArray(keys[0]);
}catch (ValidationException ve) {
return null;
}
}
Can you please give me any suggestions on how to get mt code to work?
thanks