private void initGUI() {
		if (this.tree != null) {
			int height = tree.getHeight();
			int elementNum = (int) Math.pow(2, height) - 1;
			this.setPreferredSize(new Dimension(elementNum * panelXBase, height
					* panelYBase));
			this.setVisible(true);
		}
	}