@Override
	protected void paintComponent(Graphics g) {
		super.paintComponent(g);
		
		BufferedImage image = null;
		
		try {
			image = ImageIO.read(new File("src\\resources\\slot.png"));
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		Graphics2D g2d = (Graphics2D) g;
		for (int i = 0; i < xSize; i++) {
			for (int j = 0; j < ySize; j++) {
				ColourSlot slot = slots[i][j];
				g2d.setColor(new Color(slot.isCovered() ? SlotBoard.COVERED_COLOUR : slot.getColourCode().getColour()));
				g2d.fill(slot);
				g2d.setColor(slot.isSelected() ? Color.CYAN : Color.BLACK);
				g2d.draw(slot);
				
				g2d.drawImage(image, slot.x, slot.y, null);
			}
		}
	}