public boolean toggleCollapsed(String paneId) throws IOException {
		if (collapsed.contains(paneId)) {
			collapsed.remove(paneId);
			return false;
		} else {
			collapsed.add(paneId);
			return true;
		}
	}
public boolean toggleCollapsed ( String paneId ) throws IOException { if ( collapsed . contains ( paneId ) ) { collapsed . remove ( paneId ) ; return false ; } else { collapsed . add ( paneId ) ; return true ; } }
@param paneId panel name
@return the actual state of panel