frame.createActFields(readonly, null, 0.0, 0.0, 0.0, alist, timestamp);
}
}
protected void createCustInf(int currentFunction, String returned) {
CustomerDetails details = null;
//View Customer Information
if((currentFunction == 3) && (returned.length() > 0)) {
try {
details = customer.getDetails(returned);
boolean readonly = true;
frame.createCustFields(true, details.getFirstName(),
details.getLastName(), details.getMiddleInitial(),
details.getStreet(), details.getCity(),
details.getState(), details.getZip(),
details.getPhone(), details.getEmail());
} catch (RemoteException ex) {
frame.messlab.setText("Remote Exception");
} catch (CustomerNotFoundException ex) {
frame.resetPanelTwo();
frame.messlab2.setText(messages.getString("CustomerException") + " " +
returned + " " + messages.getString("NotFoundException"));
}
}
//Update Customer Information
if((currentFunction == 2) && (returned.length() > 0)) {
try {
details = customer.getDetails(returned);
boolean readonly = false;
frame.createCustFields(false, details.getFirstName(),
details.getLastName(), details.getMiddleInitial(),
details.getStreet(), details.getCity(),
details.getState(), details.getZip(),
details.getPhone(), details.getEmail());
} catch (RemoteException ex) {
frame.messlab.setText("Remote Exception");
} catch (CustomerNotFoundException ex) {
frame.resetPanelTwo();
frame.messlab2.setText(messages.getString("CustomerException") + " " +