public JButton addButtons(JButton button, String actionCommand, String toolTip,
						   int x_coord, int y_coord, String image) {
		
		button.setVerticalTextPosition(AbstractButton.CENTER);
		button.setHorizontalTextPosition(AbstractButton.CENTER);
		button.setAlignmentX(Component.CENTER_ALIGNMENT);
		button.setBounds(x_coord, y_coord, 100, 100);
		button.setActionCommand(actionCommand);
		//button.addActionListener(this);
		button.setToolTipText(toolTip);
		button.setBorderPainted(false); 
		button.setContentAreaFilled(false); 
		button.setFocusPainted(false); 
		button.setOpaque(false);
		BufferedImage buttonImage;
		try{
			if(theBookLayout == 2){
				buttonImage = ImageIO.read(new File("resources/buttons2/"+image));
			}
			else{
				buttonImage = ImageIO.read(new File("resources/buttons/"+image));
			}
			Image scaledButton = buttonImage.getScaledInstance(100,100,java.awt.Image.SCALE_SMOOTH);
			button.setIcon(new ImageIcon(scaledButton));
		}catch (IOException ex){
			
		}
		add(button);
		add(title);
		add(background);
		return button;
	}