public ToolBar(SystemForAreaPlanning sfap, String[] res, String[] descr) {
		super("Tool Bar");
		this.sfap = sfap;
		this.res = res;
		this.descr = descr;
		this.selected = false;
		this.tbc = new ToolBarComponent[res.length];
		

		this.addMouseMotionListener(new MouseMotionHandler(sfap));
		this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		this.setBorder(BorderFactory.createLineBorder(Color.BLACK));
		this.setFloatable(false);
		this.setBackground(new Color(240,240,240));

		for(int i = 0; i < res.length; i++){
			if (descr[i].equals("House"))
			{
				JLabel temp = new JLabel("Objects ");
				this.add(temp);
				this.addSeparator();
			}
			else if (descr[i].equals("Recreate Grid Tile"))
			{
				this.addSeparator();
				JLabel temp = new JLabel("Map ");
				this.add(temp);
				this.addSeparator();
			}
			ToolBarComponent temp = new ToolBarComponent(sfap, this, RESDIR + this.res[i], this.descr[i], i+1);
			this.add(temp, i);
		}
	}