private void setupToolBar() {
		// Create a transparent panel to hold the toolbar content
		toolbarPanel = new CustomPanel(toolBarFile);
		toolbarPanel.setOpaque(false);

		// Create a transparent panel for the toolbar panel to hold
		toolbarContent = new JPanel();
		toolbarContent.setOpaque(false);

		// Setup the health bar
		JPanel healthPanel = new JPanel();
		healthPanel.setOpaque(false);
		healthPanel.setLayout(new BoxLayout(healthPanel, BoxLayout.Y_AXIS));

		healthBar = new JProgressBar(0, 100);
		healthBar.setOrientation(SwingConstants.VERTICAL);
		healthBar.setString("Health");
		healthBar.setStringPainted(true);
		healthBar.setUI(new BasicProgressBarUI() {
			protected Color getSelectionBackground() {
				return Color.black;
			}

			protected Color getSelectionForeground() {
				return Color.black;
			}
		});

		// Setup the inventory
		JPanel inventoryPanel = new JPanel() {
			@Override
			public void paintComponent(Graphics g) {
				super.paintComponent(g);
				g.translate(0, 25);
				if (avatar != null) {
					GraphicsRenderer.drawInventory(g, avatar);
				}
				// GraphicsRenderer.drawInventory(g, chest);
			}
		};

		// Respond to an item being selected
		inventoryPanel.addMouseListener(new MouseListener() {

			@Override
			public void mouseReleased(MouseEvent e) {
				// Left Click on item
				if (e.getButton() == 1) {
					int inventoryX = e.getX();
					int inventoryY = e.getY() - 25;
					int i = 0;
					// Find which item was selected
					for (int y = 0; y < (38 * 4); y = y + 38) {
						for (int x = 0; x < (38 * 4); x = x + 38) {
							if (x <= inventoryX && inventoryX <= (x + 38)
									&& y <= inventoryY
									&& inventoryY <= (y + 38)) {
								selectedObject = client.getInventoryItem(i);
								setInteractionPanel("Inventory");
								return;
							}
							i++;
						}
					}
				}
			}

			@Override
			public void mouseClicked(MouseEvent e) {
			}

			@Override
			public void mousePressed(MouseEvent e) {
			}

			@Override
			public void mouseEntered(MouseEvent e) {
			}

			@Override
			public void mouseExited(MouseEvent e) {
			}
		});
		inventoryPanel.setOpaque(false);
		inventoryPanel.setPreferredSize(new Dimension(150, 175));

		// Setup a chatPanel to hold the chatArea (displays text) and chatBox
		// (sends text)
		final JPanel chatPanel = new JPanel();
		chatPanel.setOpaque(false);
		chatPanel.setLayout(new BoxLayout(chatPanel, BoxLayout.Y_AXIS));

		// Setup a chatArea for where the chat text will be displayed
		chatArea = new JTextArea(10, 20);

		// Make the chatArea scroll
		JScrollPane textSP = new JScrollPane(chatArea);
		textSP.setPreferredSize(new Dimension((toolBarHeight / 2),
				toolBarHeight / 2));

		// Change the text inside the chatArea
		chatArea.setForeground(Color.black);
		chatArea.setBackground(Color.white);
		Font font = new Font("Verdana", Font.BOLD, 10);
		chatArea.setFont(font);
		chatArea.setLineWrap(true);
		chatArea.setEditable(false);

		// Setup a chatBox for where you type and send the chat
		final JTextField chatBox = new JTextField(16);
		chatBox.setPreferredSize(new Dimension((toolBarHeight / 2) + 20, 20));
		chatBox.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				// Sends chat message to all the other charAreas
				JTextField textField = (JTextField) e.getSource();
				String text = textField.getText();
				try {
					// Sents text to the client
					client.sendChat(name, text);
					appendChatArea(name, text);

					// Empties the chatBox
					chatBox.setText("");

					// Sets the focus to the frame for mouse clicks
					frame.requestFocusInWindow();
				} catch (IOException e1) {
					return;
				}
			}

		});

		// Scrolls to the latest text all the time
		DefaultCaret caret = (DefaultCaret) chatArea.getCaret();
		caret.setUpdatePolicy(DefaultCaret.ALWAYS_UPDATE);

		// Add an panel to hold all of the interaction buttons
		interactionPanel = new JPanel();
		TitledBorder title = BorderFactory
				.createTitledBorder("Selected Object");
		title.setTitleJustification(TitledBorder.CENTER);
		interactionPanel.setBorder(title);
		interactionPanel.setOpaque(false);
		interactionPanel.setPreferredSize(new Dimension(200, 150));

		// Add healthBar to healthPanel
		healthPanel.add(Box.createRigidArea(new Dimension(0, 25)));
		healthPanel.add(healthBar);

		// Add components to the chatPanel
		chatPanel.add(Box.createRigidArea(new Dimension(0, 40)));
		chatPanel.add(textSP);
		chatPanel.add(chatBox);

		// Adds components to the toolbarContent
		toolbarContent.add(healthPanel);
		toolbarContent.add(inventoryPanel);
		toolbarContent.add(chatPanel);
		toolbarContent.add(interactionPanel);

		// Adds the toolbar content to the toolbarPanel
		toolbarPanel.add(toolbarContent);

	}