public void loadVisOp(String visOpName)
	{
		Department visOp = DataBase.departments[DataBase.findDeptPos(visOpName)];
		if (visOp != null)
		{
			for (int index = 0; index<visOpsPanel.getComponentCount(); index++)
			{
				try
				{
					((JSpinner) visOpsPanel.getComponent(index)).setValue("1");
					((JSpinner) visOpsPanel.getComponent(index)).setValue("0");
				}catch(ClassCastException cCE){}
			}
			for (int index = 0, levelNum = 0; index<visOpsPanel.getComponentCount(); index++)
			{
				try
				{
					if(((LevelSpinner) visOpsPanel.getComponent(index)).isLevelSpinner())
					{
						System.out.println(((JSpinner) visOpsPanel.getComponent(index)) + " Spinner set to: " + visOp.colVis[levelNum]);
						((JSpinner) visOpsPanel.getComponent(index)).setValue(Integer.toString(visOp.colVis[levelNum]));
						levelNum++;
					}
				}catch(ClassCastException cCE){}
				catch(Exception e){e.printStackTrace();}		
			}
			colorTables(visOp.backGroundColor, visOp.foreGroundColor);
		}
	}