public ArrayList<String> getTablespaces(){
        ArrayList<String> ts=new ArrayList();
        for(int i=0;i<tablespaceT.getRowCount();i++){
            boolean check = (boolean)tablespaceT.getValueAt(i, 1);
            if(check){
                ts.add((String)tablespaceT.getValueAt(i, 0));
            }
        }
        return ts;
    }