arrowButton.putClientProperty(BasicLookAndFeel.DONT_CANCEL_POPUP, Boolean.TRUE);
  public void configureArrowButton()  {    if (arrowButton != null)      {    arrowButton.setEnabled(comboBox.isEnabled());    arrowButton.setFocusable(false);        if (popupMouseListener != null)          arrowButton.addMouseListener(popupMouseListener);        if (popupMouseMotionListener != null)          arrowButton.addMouseMotionListener(popupMouseMotionListener);      }  }