Methods Summary |
---|
private void | ceaseBeingAServer()
try {
unexportObject(this, true);
} catch (NoSuchObjectException e) {
// Not much to do. The RMI runtime thinks we're not a server.
}
|
public void | documentFailedToPrint(java.lang.String reason)
reportResultOfPrintRequest(FAILURE_WINDOW_TITLE, _documentName + " failed to print because " + reason);
|
public void | documentIsDone()
reportResultOfPrintRequest(SUCCESS_WINDOW_TITLE, _documentName + " is done printing.");
ceaseBeingAServer();
|
private void | reportResultOfPrintRequest(java.lang.String windowTitle, java.lang.String message)
SwingUtilities.invokeLater(new SendMessageToUser(windowTitle, message));
|