private void addIconToTrayBar() {
		try {   
			SystemTray tray = SystemTray.getSystemTray();
			tray.add(trayView.getTrayIcon());	
		} catch (AWTException e1) {
			JOptionPane.showMessageDialog(chatGui,
					settings.getLanguage().getLabel("tray_error_description"),
					settings.getLanguage().getLabel("error_title"),
				    JOptionPane.ERROR_MESSAGE);
		}			
	}