if (tabPlacement != TOP && tabPlacement != LEFT && tabPlacement != BOTTOM && tabPlacement != RIGHT) {
if (tabPlacement != SConstants.TOP && tabPlacement != SConstants.LEFT && tabPlacement != SConstants.BOTTOM && tabPlacement != SConstants.RIGHT) {
    public void setTabPlacement(int tabPlacement) {        if (tabPlacement != TOP && tabPlacement != LEFT &&                tabPlacement != BOTTOM && tabPlacement != RIGHT) {            throw new IllegalArgumentException("illegal tab placement: must be TOP, BOTTOM, LEFT, or RIGHT");        }        this.tabPlacement = tabPlacement;    }