public void searchRandom()
	{
		String result = "";
		
		if(binaryTree)
		{
			result = binarytree.findRandom();
		}
		else if(naryTree)
		{
			result = narytree.findRandom();
		}
		else if(hashList)
		{
			result = hashlist.findRandom();
		}
		else if(hashTable)
		{
			result = hashtable.findRandom();;
		}
		
		if(result.equals(""))
		{
			JOptionPane.showMessageDialog(null, "Sorry, No entry was Found.", "Error", JOptionPane.ERROR_MESSAGE);
		}
		else
		{
			JOptionPane.showMessageDialog(null, "Success, the search was successfull", "Success", JOptionPane.PLAIN_MESSAGE);
			GUI.addDatatoLog(result.trim() +"\n");
		}
		
		result = "";
	}