public void mouseReleased(MouseEvent me) {

			if(closeUnderMouse(me.getX(), me.getY())){
				boolean isToCloseTab = tabAboutToClose(selectedTab);
				if (isToCloseTab && selectedTab > -1){		
					String tab = tabbedPane.getTitleAt(selectedTab);
					if (tab.contains("Error"))
						GrooveJaar.results.remove(tab);
					else
						GrooveJaar.results.remove(tab.substring(0,tab.lastIndexOf(" (")).hashCode());
					tabbedPane.removeTabAt(selectedTab);
					
				}
				selectedTab = tabbedPane.getSelectedIndex();
			}
		}