public Numberfield(int initialValue, int maxInputLength, Color bg, String fieldTitle, String fieldlabel, boolean showResetBtn) {
        this.numberLength = maxInputLength;

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

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

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

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