public void actionPerformed(java.awt.event.ActionEvent actionEvent) {
public void actionPerformed(ActionEvent actionEvent) {
        public void actionPerformed(java.awt.event.ActionEvent actionEvent) {            if (curPanel instanceof FiringDisplay) {                ((FiringDisplay) curPanel).target(target);            } else if (curPanel instanceof PhysicalDisplay) {                ((PhysicalDisplay) curPanel).target(target);            } else if (curPanel instanceof TargetingPhaseDisplay) {                ((TargetingPhaseDisplay) curPanel).target(target);            }        }