/** Checks to see if the event was to show the popup menu */ private void maybeShowPopup(MouseEvent e) { if ((e.getModifiers() & MouseEvent.BUTTON3_MASK) != 0) { popup.show(userList, e.getX(), e.getY()); } }