if (q.equals("{")) indent += indent; if (q.equals("}")) indent-=indent; for (int i=0;i