List<Player> players = CampaignClient.getInstance().getPlayers();
for (Player player : players) {
addElement(player, new PanelPlayer(player));
}
CampaignClient.getInstance().addCampaignListener(new CampaignAdapter() {
@Override
public void playerAdded(Player player) {
addElement(player, new PanelPlayer(player));
}
});