public void resizeMainMenu(double scaleFactorX, double scaleFactorY){
		this.scaleFactorX=scaleFactorX;
		this.scaleFactorY=scaleFactorY;
		layers.setBounds(0, 0, (int)(scaleFactorX * (double)getWidth()), (int)(scaleFactorY * (double)getHeight()));
		systemScroll.setBounds((int)(scaleFactorX * (double) 110), (int)(scaleFactorY * (double)200), (int)(scaleFactorX * (double)200), (int)(scaleFactorY * (double)300));
		bookScroll.setBounds((int)(scaleFactorX * (double)330), (int)(scaleFactorY * (double)200), (int)(scaleFactorX * (double)200), (int)(scaleFactorY * (double)300));
		description.setBounds((int)(scaleFactorX * (double)110), (int)(scaleFactorY * (double)40), getWidth() -(int)(scaleFactorX * (double)300), (int)(scaleFactorY * (double)100));
		descriptionTitle.setBounds((int)(scaleFactorX * (double)110),(int)(scaleFactorY * (double) 10), getWidth()-(int)(scaleFactorX * (double)350), (int)(scaleFactorY * (double)30));


		imageLabel.setBounds((int)(scaleFactorX * (double)550), (int)(scaleFactorY * (double)200), (int)(scaleFactorX * (double)150), (int)(scaleFactorY * (double)214));
		if(listOfBooks!=null){
			BufferedImage bookImage;
			try{
				bookImage = ImageIO.read(new File(listOfSystems.get(systemList.getSelectedIndex()).getLogoFileName()));
				Image scaledBackground = bookImage.getScaledInstance((int)(scaleFactorX * (double)150),(int)(scaleFactorY * (double)214),java.awt.Image.SCALE_SMOOTH);
				imageLabel.setIcon((new ImageIcon(scaledBackground)));
			}catch(IOException e2){
				e2.printStackTrace();
			}
			imageLabel.repaint();
		}


		setNewBounds(scaleFactorX, scaleFactorY);

		rebufferOpenBookButton(scaleFactorX, scaleFactorY);
		rebufferOpenShopButton(scaleFactorX, scaleFactorY);
		rebufferLogoLabel();
		rebufferBackgroundImage();

		System.out.println("Resized Main Menu");

		this.repaint();
	}