public CardZonePanel getCardZonePanelForCardZone(CardZone zone) { CardZonePanel found = null; Iterator<PlayerPanel> playerPanelIt = players.iterator(); while (playerPanelIt.hasNext() && found == null) { PlayerPanel pPanel = playerPanelIt.next(); CardZonePanel panel = pPanel.getHandPanel(); if (panel.getCardZone().equals(zone)) found = panel; else { panel = pPanel.getFieldPanel(); if (panel.getCardZone().equals(zone)) found = panel; } } return found; }