private void addTableColor(Thread t) {
		
		switch (t.getState().toString()) {
		case "NEW":
			colors.add(Color.GREEN);
			break;
		case "RUNNABLE":
			colors.add(Color.CYAN);
			break;
		case "BLOCKED":
			colors.add(Color.RED);
			break;
		case "WAITING":
			colors.add(Color.YELLOW);
			break;
		case "TIMED_WAITING":
			colors.add(Color.YELLOW);
			break;
		case "TERMINATED":
			colors.add(Color.BLACK);
			break;
		default:
			break;
		}
	}