PopupMenu popupMenu = new PopupMenu();
MenuItem citation = new MenuItem(bundle.getString(Constants.NEWCITATION));
citation.addActionListener(this);
citation.setActionCommand(Constants.NEWCITATION);
popupMenu.add(citation);
CheckboxMenuItem checkboxMenuItem = new CheckboxMenuItem(bundle.getString(Constants.PAUSE), false);
checkboxMenuItem.addItemListener(this);
checkboxMenuItem.setActionCommand(Constants.PAUSE);
popupMenu.add(checkboxMenuItem);
MenuItem settingsMenuItem = new MenuItem(bundle.getString(Constants.CONFIGSCREEN));
settingsMenuItem.addActionListener(this);
settingsMenuItem.setActionCommand(Constants.CONFIGSCREEN);
popupMenu.add(settingsMenuItem);