public LoreBookPanel() {
		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch (ClassNotFoundException exception) {
			exception.printStackTrace();
		} catch (InstantiationException exception) {
			exception.printStackTrace();
		} catch (IllegalAccessException exception) {
			exception.printStackTrace();
		} catch (UnsupportedLookAndFeelException exception) {
			exception.printStackTrace();
		}
		setBounds(0, 0, 960, 672);
		setLayout(null);
		leftPanel = new JPanel();
		leftPanel.setBounds(0, 0, 480, 640);
		add(leftPanel);
		rightPanel = new JPanel();
		rightPanel.setBounds(480, 0, 480, 640);
		add(rightPanel);
		
		btnNextPage = new JButton("Next page");
		btnNextPage.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent event) {
				turnPageForward();
			}
		});
		btnNextPage.setBounds(843, 643, 117, 29);
		add(btnNextPage);
		
		btnPreviousPage = new JButton("Previous page");
		btnPreviousPage.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent event) {
				turnPageBackward();
			}
		});
		btnPreviousPage.setBounds(0, 643, 117, 29);
		add(btnPreviousPage);
		
		leftPageNumber = new JLabel("");
		leftPageNumber.setBounds(129, 648, 61, 16);
		add(leftPageNumber);
		
		rightPageNumber = new JLabel("");
		rightPageNumber.setBounds(770, 652, 61, 16);
		add(rightPageNumber);
		book = new BookImpl(this);
		try {
			loadBackgrounds();
		} catch (IOException exception) {
			exception.printStackTrace();
		}
		try {
			book.loadPages();
		} catch (IOException exception) {
			exception.printStackTrace();
		} catch (FontFormatException exception) {
			exception.printStackTrace();
		}
		refreshPages();
	}