return myPatch.getDriver().getPatchType();
return myPatch.getType();
        public Object getValueAt(int row, int col) {            IPatch myPatch = (IPatch) list.get(row);            try {                switch (col) {                case SYNTH:                    return myPatch.getDevice().getSynthName();                case TYPE:                    return myPatch.getDriver().getPatchType();                case PATCH_NAME:                    return myPatch.getName();                case FIELD1:                    return myPatch.getDate();                case FIELD2:                    return myPatch.getAuthor();                case COMMENT:                    return myPatch.getComment();                default:                    ErrorMsg.reportStatus("LibraryFrame.getValueAt: internal error.");                    return null;                }            } catch (NullPointerException e) {                ErrorMsg.reportStatus("LibraryFrame.getValueAt: row=" + row + ", col=" + col + ", Patch=" + (Patch) myPatch);                ErrorMsg.reportStatus("row count =" + getRowCount());                //e.printStackTrace();                return null;            }        }