/* */ }
/* 573 */ else if ((source instanceof RenderedOp))
/* */ {
/* 579 */ RenderedImage ri = ((RenderedOp)source).getRendering();
/* */ try {
/* 581 */ SerializableRenderedImage sri = new SerializableRenderedImage(ri);
/* */
/* 583 */ remoteImage.setRenderedSource(opID, sri, i);
/* 584 */ newPB.setSource(sri, i);
/* */ } catch (RemoteException e) {
/* 586 */ String message = JaiI18N.getString("RMIServerProxy6");
/* 587 */ listener.errorOccurred(message, new RemoteImagingException(message, e), this, false);
/* */ }
/* */
/* */ }
/* 593 */ else if ((source instanceof RenderedImage))
/* */ {
/* 599 */ RenderedImage ri = (RenderedImage)source;
/* */ try {
/* 601 */ SerializableRenderedImage sri = new SerializableRenderedImage(ri);
/* */
/* 603 */ remoteImage.setRenderedSource(opID, sri, i);
/* 604 */ newPB.setSource(sri, i);
/* */ } catch (RemoteException e) {
/* 606 */ String message = JaiI18N.getString("RMIServerProxy6");