@Override
	public void mouseClicked(MouseEvent event) {
		CentralSystem centralSystem = CentralSystem.getCentralSystem();
		JToggleButton sourceJTB = new JToggleButton();
		JButton sourceJB = new JButton();
		ButtonsJP buttonsJP = connectionWindowController.getConnectionWindow().getButtonsJP();
		
		if(event.getSource() instanceof JButton)
		{
			sourceJB = (JButton) event.getSource();
		}
		else
		{
			if(event.getSource() instanceof JToggleButton)
			{
				sourceJTB = (JToggleButton) event.getSource();
			}
		}
		
		if(sourceJTB.equals(buttonsJP.getStartRequestListenerJTB()) && buttonsJP.getStartRequestListenerJTB().isSelected())
		{
			connectionWindowController.startListenInitialValuesRequest();
		}
		else
		{
			if(sourceJTB.equals(buttonsJP.getStartRequestListenerJTB()) && !buttonsJP.getStartRequestListenerJTB().isSelected())
			{
				connectionWindowController.pauseListenInitialValuesRequest();
			}
			else
			{
				if(sourceJB.equals(buttonsJP.getShowBusesJB()))
				{
					centralSystem.createBusesWindowController();
					centralSystem.createRefreshTableThread();
					centralSystem.startRefreshTableThread();
				}
			}
		}
	}