@SuppressWarnings("unchecked") @Override public final void actionPerformed(final ActionEvent e) { final FComboBox<Object> cb = (FComboBox<Object>) e.getSource(); cb.requestFocusInWindow(); final Object selection = cb.getSelectedItem(); if (null != selection) { lobby.changePlayerFocus(index); lobby.firePlayerChangeListener(index); } }