public void itemStateChanged(ItemEvent e){
	int checknum = 0;
	for(int b = 0; b <= mainchecks.length-1; b++){
		if(e.getItemSelectable() == mainchecks[b]){ checknum = b; boolset = mainchecks[b].getState();}
	}
	switch(checknum){
		// check draw
		case 0: command = 203; cdoSet(); fireucEvent(); break;
		// rand draw
		case 1: command = 204; cdoSet(); fireucEvent(); break;
		// check fill
		case 2: command = 205; cfoSet(); fireucEvent(); break;
		// rand fill
		case 3: command = 206; cfoSet(); fireucEvent(); break;
	}
	}