public void actionPerformed(java.awt.event.ActionEvent actionEvent) {
public void actionPerformed(ActionEvent actionEvent) {
        public void actionPerformed(java.awt.event.ActionEvent actionEvent) {            if (curPanel instanceof MovementDisplay) {                ((MovementDisplay) curPanel).selectEntity(entity.getId());            } else if (curPanel instanceof FiringDisplay) {                ((FiringDisplay) curPanel).selectEntity(entity.getId());            } else if (curPanel instanceof PhysicalDisplay) {                ((PhysicalDisplay) curPanel).selectEntity(entity.getId());            }        }