I am unable to load flight number list on combobox, please tell me the procedure how to load the list in combobox.
My efforts are I had created a getRecords() method in my data class which returns an
string array of flight records as follows:
public String[] getRecords()throws IOException{
String [] values=readRecord();
return values;
}
and in my client GUI i am accessing this method with the help of remote interface
eg:
private void loadList(){
try{
recCount=intf.getRecordCount();
for(int i=1; i<=recCount; i++){
String val[]=intf.getRecords();
vec.add(val[0]);
}
}catch(Exception ex){
ex.printStackTrace();
}
}
The client list is loaded sucessfully in one client but when another client application invokes it does'nt load list on second client. Plz tell me the solution how i have to proceed to get the accurate results
Anurag Mishra