public void setActivePanel(final PanelType type) {
		if (this.frame != null) {
			this.frame.dispose();
		}
		
		switch (type) {
		case START:
			this.frame = new PlainPanel(this.sfb, SWT.FILL, CompositeBrick.DEFAULT);
			break;
		case CLUBS:
			this.frame = new ClubPanel(this.sfb, SWT.FILL, CompositeBrick.DEFAULT);
			break;
		case GYM:
			this.frame = new GymPanel(this.sfb, SWT.FILL, CompositeBrick.DEFAULT);
			break;
		case SPIELTAG:
			this.frame = new GamePanel(this.sfb, SWT.FILL, CompositeBrick.DEFAULT);
			break;
		case SPIELTAG_DIR:
			this.frame = new AllGamesPanel(this.sfb, SWT.FILL, CompositeBrick.DEFAULT);
			break;
		case TEAMS:
			this.frame = new TeamPanel(this.sfb, SWT.FILL, CompositeBrick.DEFAULT);
			break;
		case RANKING:
			this.frame = new RankingPanel(this.sfb, SWT.FILL, CompositeBrick.DEFAULT);
			break;
		}
		this.sfb.setWeights(new int[] {30, 70});
	}