private void initUserlistImageMenu(Color bg) {
        this.userlistImageMenu = new JPanel();
        this.userlistImageMenu.setBackground(bg);
        this.userlistImageMenu.setLayout(new VerticalLayout(5, VerticalLayout.LEFT));

        // size
        int[] size = new int[] { this.skin.getUserlistImageWidth(), this.skin.getUserlistImageHeight() };
        this.userlistImageMenu.add(new SizeField(size, 4, bg, strSizeFieldTitle, true) {
            private final long serialVersionUID = 1L;

            @Override
            public void widthOnKeyReleased(String input) {
                if (!UserlistChangesMenu.this.skin.setUserlistImageWidth(parseInt(input))) {
                    updateWidthfieldColor(Color.RED);
                }
            }

            @Override
            public void heightOnKeyReleased(String input) {
                if (!UserlistChangesMenu.this.skin.setUserlistImageHeight(parseInt(input))) {
                    updateHeightfieldColor(Color.RED);
                }
            }

            @Override
            public void resetOnClick() {
                UserlistChangesMenu.this.skin.setUserlistImageWidth(-1);
                UserlistChangesMenu.this.skin.setUserlistImageHeight(-1);
                update(UserlistChangesMenu.this.skin.getUserlistImageWidth(), UserlistChangesMenu.this.skin.getUserlistImageHeight());
            }
        });

        // padding
        final int[] padding = this.skin.getUserlistImagePadding();
        this.userlistImageMenu.add(new PaddingField(padding, bg, strPaddingFieldTitle) {
            private final long serialVersionUID = 1L;

            private int[] tmp = (padding == null) ? new int[] { 0, 0, 0, 0 } : padding;

            @Override
            public void topFieldOnKeyReleased(String input) {
                controlAndSet(input, 1);
            }

            @Override
            public void rightFieldOnKeyReleased(String input) {
                controlAndSet(input, 2);
            }

            @Override
            public void leftFieldOnKeyReleased(String input) {
                controlAndSet(input, 0);
            }

            @Override
            public void bottomFieldOnKeyReleased(String input) {
                controlAndSet(input, 3);
            }

            private void controlAndSet(String s, int index) {
                int i = FAILURE;
                if (s != null) {
                    try {
                        i = Integer.parseInt(s);
                    } catch (NumberFormatException e) {
                        i = FAILURE;
                    }
                }

                if (i == FAILURE) {
                    UserlistChangesMenu.this.skin.setUserlistImagePadding(null);
                } else {
                    this.tmp[index] = i;
                    UserlistChangesMenu.this.skin.setUserlistImagePadding(this.tmp);
                }
            }

            @Override
            public int[] reset() {
                UserlistChangesMenu.this.skin.setUserlistImagePadding(null);
                this.tmp = UserlistChangesMenu.this.skin.getUserlistImagePadding();
                return this.tmp;
            }
        });
    }