void (MouseEvent e) { ToolbarComboWidget comp = (ToolbarComboWidget)e.getComponent(); ActionEvent ae = new ActionEvent(comp, 0, null, System.currentTimeMillis(), e.getModifiersEx()); comp.getPressListeners().forEach(listener -> listener.actionPerformed(ae)); }