Bookmark Topic Watch Topic
  • New Topic

Models & Arrays  RSS feed

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
Marshal
Posts: 56610
172
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't ask the same question twice.
 
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Let's continue the discussion in this duplicate thread.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!