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

        // image
        Path path = this.skin.getBranding().getImage(Brandingsize.SMALL);
        final ImageField imagefield = new ImageField(path, bg, strImgFieldTitle, false) {
            private final long serialVersionUID = 1L;

            @Override
            public void onFileChosen(File file) {
                if (file != null) {
                    Path tmp = file.toPath();
                    GeneralChangesMenu.this.skin.setBranding(tmp, tmp, tmp);
                    updatePathField(GeneralChangesMenu.this.skin.getBranding().getImage(Brandingsize.SMALL), false);
                } else {
                    GeneralChangesMenu.this.skin.setBranding(null, null, null);
                    updatePathField(GeneralChangesMenu.this.skin.getBranding().getImage(Brandingsize.SMALL), true);
                }

            }
        };

        // position
        Position pos = this.skin.getBrandingPosition();
        boolean[] active = { false, true, false, true, false, true, false, true, false };
        final PositionField posfield = new PositionField(pos, active, bg, strPosFieldTitle) {
            private final long serialVersionUID = 1L;

            @Override
            public void toprightOnPressed() {
            }

            @Override
            public void topleftOnPressed() {
            }

            @Override
            public void topOnPressed() {
                GeneralChangesMenu.this.skin.setBrandingPosition(Position.TOP);
            }

            @Override
            public void centerrightOnPressed() {
                GeneralChangesMenu.this.skin.setBrandingPosition(Position.RIGHT);
            }

            @Override
            public void centerleftOnPressed() {
                GeneralChangesMenu.this.skin.setBrandingPosition(Position.LEFT);
            }

            @Override
            public void centerOnPressed() {
            }

            @Override
            public void bottomrightOnPressed() {

            }

            @Override
            public void bottomleftOnPressed() {

            }

            @Override
            public void bottomOnPressed() {
                GeneralChangesMenu.this.skin.setBrandingPosition(Position.BOTTOM);
            }
        };

        // checkbox
        boolean hidden = this.skin.getBrandingPosition() == Position.NONE;
        this.brandingMenu.add(new CheckField(hidden, bg, strHideFieldTitle, strHide) {
            private final long serialVersionUID = 1L;

            @Override
            public void btnPressed(boolean selected) {
                if (selected) {
                    GeneralChangesMenu.this.skin.setBrandingPosition(Position.NONE);
                    posfield.setVisible(false);
                    imagefield.setVisible(false);

                } else {
                    GeneralChangesMenu.this.skin.setBrandingPosition(null);
                    posfield.setSelectionOnPosition(GeneralChangesMenu.this.skin.getBrandingPosition());
                    posfield.setVisible(true);
                    imagefield.setVisible(true);

                }
            }
        });

        if (hidden) {
            posfield.setVisible(false);
            imagefield.setVisible(false);
        }

        this.brandingMenu.add(posfield);
        this.brandingMenu.add(imagefield);
    }