protected void updateMenu(String[] comboboxEntries, final RightMenu menu) {
        for (String s : comboboxEntries) {
            this.rightPanelComboBox.addItem(s);
        }

        if ((this.rightPanelComboBox.getActionListeners() != null) && (this.rightPanelComboBox.getActionListeners().length > 0)) {
            this.rightPanelComboBox.removeActionListener(this.rightPanelComboBox.getActionListeners()[0]);
        }

        this.rightPanelComboBox.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                int entry = EditorRightMenu.this.rightPanelComboBox.getSelectedIndex();
                showSubmenu(menu, entry);
            }
        });

        this.rightPanelSubBtm.add(MenuHint.getInstance(this.bg, this.strComboboxHint + getContentInfo(comboboxEntries)));
        revalidate();

    }