return myPatch.getDriver().getPatchType();
return myPatch.getType();
        public Object getValueAt(int row, int col) {            Scene myScene = (Scene) list.get(row);            IPatch myPatch = myScene.getPatch();            try {                switch (col) {                case SYNTH:                    return myPatch.getDevice().getSynthName();                case TYPE:                    return myPatch.getDriver().getPatchType();                case PATCH_NAME:                    return myPatch.getName();                case BANK_NUM:                    // generic driver returns null                    String[] bn = myPatch.getDriver().getBankNumbers();                    if (bn != null)                        return bn[myScene.getBankNumber()];                    else                        return String.valueOf(myScene.getBankNumber());                case PATCH_NUM:                    String[] pn = myPatch.getDriver().getPatchNumbers();                    if (pn != null)                        return pn[myScene.getPatchNumber()];                    else                        return String.valueOf(myScene.getPatchNumber());                case COMMENT:                    return myScene.getComment();                default:                    ErrorMsg.reportStatus("SceneFrame.getValueAt: internal error.");                    return null;                }            } catch (NullPointerException e) {                ErrorMsg.reportStatus("SceneFrame.getValueAt: row=" + row                        + ", col=" + col + ", Patch=" + (Patch) myPatch);                ErrorMsg.reportStatus("row count =" + getRowCount());                e.printStackTrace();                return null;            }        }