@Override
		public void actionPerformed(ActionEvent e) {
			JButton current = (JButton) e.getSource();
			if ( e.getSource() == checkOutToolsButton ) {
				switchContentPanel(new CheckoutToolsPanel());
				isCheckingOutTools = true;
				current.setBackground(orange);
			} else if ( e.getSource() == selectMachinesButton ) {
				if ( !isCheckingOutTools ) {
					useMachines(current);
				} else {
					isCheckingOutTools = false;
					switchPanels(new AdminGUI(currentUser));
				}
			} else if ( e.getSource() == returnToolsButton ) {
				if ( !isCheckingOutTools ) {
					returnTools();
					current.setBackground(orange);
				} else {
					switchPanels(new AdminGUI(currentUser));
					isCheckingOutTools = false;
				}
			} else if ( e.getSource() == doneButton ) {
				useMachines(current);
				Driver.getMainGui().restart();
			} else if ( e.getSource() == viewToolsAndMachines ) {
				switchContentPanel(new ViewToolsAndMachinesPanel());
				current.setBackground(orange);
				isCheckingOutTools = false;
			} else if ( e.getSource() == generateReport ) {
				switchContentPanel(new GenerateReportPanel());
				current.setBackground(orange);
				isCheckingOutTools = false;
			} else if ( e.getSource() == viewActiveUsers ) {
				switchContentPanel(new ViewActiveUsersPanel());
				current.setBackground(orange);
				isCheckingOutTools = false;
			}
		}