private JFrame initialiseFrame() {
		JFrame frame = new JFrame("Complete Mastermind");
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
		
		
		this.maxXSize = (Math.min(1600, screenSize.width)-300)/45;
		this.maxYSize = (Math.min(900, screenSize.height)-300)/55;
		
		frame.setMaximumSize(new Dimension(this.maxXSize, this.maxYSize));
		frame.setPreferredSize(new Dimension(PREF_WIDTH, PREF_HEIGHT));
		frame.setLayout(null);
		
		frame.pack();
		
		reposition(frame);
		
		frame.addComponentListener(this);
		return frame;
	}