ISingleDriver d = (ISingleDriver)p.getDriver(); d.calculateChecksum(p); d.sendPatch(p);
frameActivated();
                public void JSLFrameActivated(JSLFrameEvent e) {                    // XXX: Do we really want to send the patch every                    //      time the editor gets focus?                    ISingleDriver d = (ISingleDriver)p.getDriver();                    d.calculateChecksum(p);                    d.sendPatch(p);                    gotFocus();                    Actions.setEnabled(false,                                         Actions.EN_GET                                         | Actions.EN_PASTE);                    Actions.setEnabled(true,                                         Actions.EN_COPY                                         | Actions.EN_EXPORT                                         | Actions.EN_PLAY                                         | Actions.EN_REASSIGN                                         | Actions.EN_SEND                                         | Actions.EN_SEND_TO                                         | Actions.EN_STORE);                }