{ if (e.getSource() instanceof JComboBox) { arrowButton.getModel().setPressed(true); arrowButton.getModel().setArmed(true); }  comboBox.repaint();  if (e.getSource() instanceof BasicArrowButton) toggleOpenClose(); }
toggleOpenClose();
    public void mousePressed(MouseEvent e)    {      if (comboBox.isEnabled())        {	  if (e.getSource() instanceof JComboBox)	    {	      arrowButton.getModel().setPressed(true);	      arrowButton.getModel().setArmed(true);	    }	  comboBox.repaint();	  if (e.getSource() instanceof BasicArrowButton)	    toggleOpenClose();        }    }