public SizeField(int[] initialValue, int maxInputLength, Color bg, String fieldTitle, boolean showResetBtn) {
        if ((initialValue == null) || (initialValue.length != 2)) {
            throw new IllegalArgumentException();
        }

        this.numberLength = maxInputLength;

        if (bg == null) {
            bg = Color.WHITE;
        }

        if (fieldTitle == null) {
            fieldTitle = "";
        }

        create(initialValue, bg, fieldTitle, showResetBtn);
    }