public void setWorkSpace(WorkSpace workSpace)
	{
        if (workSpace == null
            || ! (workSpace instanceof CommandPanelWorkSpace) ||
            ( (CommandPanelWorkSpace) workSpace).getLoginTable() == null ||
            ( (CommandPanelWorkSpace) workSpace).getLoginTable().size() ==
            0)
        {
            loginTable = LoginWindow.getDefaultLogins();
            updateComboBox(cboLogins, loginTable.keySet().toArray());
            return;
        }
        CommandPanelWorkSpace ws = (CommandPanelWorkSpace)
            workSpace;
		//<cvs/>added clone() - bug in calling the equals() method if same obj
		loginTable = (Hashtable)ws.getLoginTable().clone();
		updateComboBox(cboLogins, loginTable.keySet().toArray());
		ckAutoCommit.setSelected(ws.isAutoCommit());
	}