final Constructor cons = clz.getConstructor( new Class[] { Session.class });
rcvEdit = (ReceiverEditor) cons.newInstance( new Object[] { doc }); // XXX deligate to SurfacePaneFrame
rcvEdit.init( rcv );
rcvEditFrame = rcvEdit.getView();
rcvEditFrame.setVisible( true );
rcvEditFrame.toFront();
showCursorTab();
}
}
}
catch( InstantiationException e1 ) {