@Override
	public void initialize(URL arg0, ResourceBundle arg1) {
		PlayerPtrVector ppv = HockmanMain.game.getLeague().getPlayerVector();
		this.statppv = new PlayerPtrVector();
		int nofPlayers = ppv.GetNofPlayers();
		for (int i = 0; i < nofPlayers; i++) {
			Player player = ppv.GetPlayer(i);
			Team team = player.getContracts().getCurrContr().getTeam();
			if (team != null
					&& team.getTeamState().getTeamStateID() != TeamState.TeamStateID.NONLEAGUE) {
				this.statppv.InsertPlayer(player);
			}
		}
		this.showGoalies = false;
		positionGrp.selectToggle(positionGrp.getToggles().get(1));
		positionGrp.selectedToggleProperty().addListener(new ChangeListener<Object>() {
			public void changed(ObservableValue<?> arg0, Object arg1, Object arg2) {
				RadioButton rb = ((RadioButton) positionGrp.getSelectedToggle());
				if (rb.equals(goalieRadio)) {
					showGoalies = true;
				} else if (rb.equals(defForRadio)) {
					showGoalies = false;
				}
				statppv.SortPlayerPoints(); // default sorting
				showStatsList();
			}
		});
		this.statsList.setOnMouseClicked(new EventHandler<MouseEvent>() {
			public void handle(MouseEvent me) {
				if (me.getClickCount() < 2) {
					return;
				}
				playerDetails(new ActionEvent());
			}
		});
		this.statppv.SortPlayerPoints(); // default sorting
		showStatsList();
	}