public ProjectMainView() {
		setTitle("Edytor LoW");
		campaign = new Campaign();

		setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
		this.addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent evt) {
				boolean quit = true;
				if (!campaign.isSaved()) {
					int dialogButton = JOptionPane
							.showConfirmDialog(
									null,
									"Projekt nad którym pracujesz nie jest zapisany.\n Czy chcesz kontynuować?",
									"Uwaga!", JOptionPane.YES_NO_OPTION);
					if (dialogButton == JOptionPane.YES_OPTION) {
						campaign.closeCampaign();
						System.exit(0);
					}
				} else {
					campaign.closeCampaign();
					System.exit(0);
				}

			}
		});
		getContentPane().setLayout(new BorderLayout());
		setSize(windowWidth, windowHeight);
		
		progressBar = new JProgressBar();
		progressBar.setStringPainted(true);

		statusPanel = new JPanel();
		statusPanel.setBorder(new BevelBorder(BevelBorder.LOWERED));
		statusPanel.setPreferredSize(new Dimension(this.getWidth(), 20));
		statusPanel.setLayout(new BoxLayout(statusPanel, BoxLayout.X_AXIS));
		statusPanel.setBackground(Color.WHITE);
		JLabel info = new JLabel("");
		// Data startu: "+campaign.getGameDate()+"/Liczba quizÃ³w:
		// "+campaign.getQuizes().size()+"/"
		info.setHorizontalAlignment(SwingConstants.LEFT);
		statusPanel.add(info);
		getContentPane().add(statusPanel, BorderLayout.SOUTH);

		leftSidePanel = new JPanel();
		rightSidePanel = new JPanel();
		rightSidePanel.setPreferredSize(new Dimension(1000, 750));
		rightScroll = new JScrollPane(rightSidePanel);
		splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, leftSidePanel,
				rightScroll);
		splitPane.setEnabled(false);
		splitPane.setDividerLocation(220);

		leftSidePanel.setLayout(null);
		rightSidePanel.setLayout(null);

		splitPane.setBounds(10, 11, 764, 418);
		getContentPane().add(splitPane);

		setVisible(true);
	}