public void checkButtonsEnabled(){
        topDecreaseButton.setEnabled(topSpinner.nextButton.isEnabled());
        topIncreaseButton.setEnabled(topSpinner.prevButton.isEnabled());
        
        bottomDecreaseButton.setEnabled(bottomSpinner.prevButton.isEnabled());
        bottomIncreaseButton.setEnabled(bottomSpinner.nextButton.isEnabled());
        
        leftDecreaseButton.setEnabled(leftSpinner.nextButton.isEnabled());
        leftIncreaseButton.setEnabled(leftSpinner.prevButton.isEnabled());
        
        rightDecreaseButton.setEnabled(rightSpinner.prevButton.isEnabled());
        rightIncreaseButton.setEnabled(rightSpinner.nextButton.isEnabled());
        
        boolean applyEnbaled = (Integer)topSpinner.getValue() != 0 || (Integer)bottomSpinner.getValue() != 0 || (Integer)leftSpinner.getValue() != 0 || (Integer)rightSpinner.getValue() != 0;
        applyButton.setEnabled(applyEnbaled);
    }