public TileBarView(Book selection, int bookNumber, Interface i, boolean bookOrChapter, int coloringMode, int Xmove, int Ymove, ArrayList<Term> query1, ArrayList<Term> query2, ArrayList<Term> query3, ArrayList<String> query1Strings, ArrayList<String> query2Strings, ArrayList<String> query3Strings){
		this.bookNumber = bookNumber;
		chapterTiles = new ArrayList<>();
		selected = selection;
		moveX = Xmove;
		moveY = Ymove;
		menu = i;
		this.coloringMode = coloringMode;
		USE_CHAPTER_FREQUENCY_COLORING = bookOrChapter;
		//frame = new JFrame("Simple Graph View");
		tileBar = new JPanel();
		//frame.setLayout(null);
		tileBar.setLayout(null);
		this.setLayout(null);
		this.setBackground(Color.WHITE);
		instantiateTileBarView(query1, query2, query3, query1Strings, query2Strings, query3Strings);
		//frame.setSize(new Dimension(selected.getSize()+16+(moveX*2),52+38+(moveY*2)));//+16 is the pixels for the left and right border, +38 is for the top and bottom borders for the window
		//tileBar.setSize(new Dimension(selected.getSize()+16+(moveX*2),52+38+(moveY*2)));//+16 is the pixels for the left and right border, +38 is for the top and bottom borders for the window
		this.setSize(new Dimension(selected.getSize()+16+(moveX*2),52+38+(moveY*2)));
		//frame.setVisible(true);
	}