public void init()
	{
		// initialize components
		buttonpanel = new JPanel();
		buttonpanel.setPreferredSize(new Dimension(0, 50));
		buttonpanel.setLayout(new BoxLayout(buttonpanel, BoxLayout.X_AXIS));
		buttonpanel.setBackground(Color.CYAN);

		load = new JButton("Load Game");
		newgame = new JButton("New Game");

		title = new JLabel("D.R.A.G.O.N");
		title.setForeground(Color.BLACK);
		title.setFont(new Font("Vivaldi", Font.PLAIN, 45));

		titlepanel = new JPanel();
		titlepanel.setBackground(Color.CYAN);
		titlepanel.add(title);

		// add listeners to buttons
		load.addActionListener(this);
		newgame.addActionListener(this);

		// add buttons to panel
		buttonpanel.add(newgame);
		for (int i = 0; i < 3; i++)
			buttonpanel.add(Box.createHorizontalGlue());
		buttonpanel.add(load);
	}