((SceneListModel) ((JTable) c).getModel()).addScene(s);
SceneListModel model = (SceneListModel) ((JTable) c).getModel(); model.addScene(s);  model.fireTableDataChanged();
        public boolean importData(JComponent c, Transferable t) {            if (canImport(c, t.getTransferDataFlavors())) {                try {                    if (t.isDataFlavorSupported(SCENE_FLAVOR)) {                        Scene s = (Scene) t.getTransferData(SCENE_FLAVOR);                        // Serialization loses a transient field, driver.                        s.getPatch().setDriver();                        ((SceneListModel) ((JTable) c).getModel()).addScene(s);                        return true;                    } else if (t.isDataFlavorSupported(PATCH_FLAVOR)) {                        IPatch p = (IPatch) t.getTransferData(PATCH_FLAVOR);                        // Serialization loses a transient field, driver.                        p.setDriver();                        ((PatchTableModel) ((JTable) c).getModel()).addPatch(p);                        return true;                    } else if (t.isDataFlavorSupported(TEXT_FLAVOR)) {                        String s = (String) t.getTransferData(TEXT_FLAVOR);                        IPatch p = getPatchFromUrl(s);                        ((PatchTableModel) ((JTable) c).getModel()).addPatch(p);                        return true;                    }                } catch (UnsupportedFlavorException e) {                    ErrorMsg.reportStatus(e);                } catch (IOException e) {                    ErrorMsg.reportStatus(e);                }            }            // Let user know we tried to paste.            Toolkit.getDefaultToolkit().beep();            return false;        }