protected void paint(Graphics g) {
    	switch(state) {
	    	case DEFAULT:
	    		paintDefault(g);
	    		break;
	    	case HIGHLIGHTED:
	    		paintHighlighted(g);
	    		break;
	    	case FOCUSED:
	    		paintFocused(g);
	    		break;
	    	case ACCENTUATED:
	    		paintAccentuated(g);
	    		break;
	    	case SELECTED:
	    		paintSelected(g);
	    		break;
    	}
    }