return search(text, selector, true, displayError);
return search(text, selector, true, displayError, numberIndex);
	public static boolean search(String text, JComboBox selector,			boolean beginFromStart, boolean displayError)	{		text = text.toLowerCase();		for (int i = (selector.getSelectedIndex() + 1 != selector				.getItemCount()				&& !beginFromStart ? selector.getSelectedIndex() + 1 : 0); i < selector				.getItemCount(); i++)		{			if (selector.getItemAt(i).toString().toLowerCase().indexOf(text) != -1)			{				if (selector.getSelectedIndex() == -1 && selector.isEditable())				{					selector.setEditable(false);					selector.setSelectedIndex(i == 0 ? 1 : 0);					selector.setSelectedIndex(i);					selector.setEditable(true);				}				selector.setSelectedIndex(i);				selector.repaint();				return true;			}		}		if (beginFromStart)		{				System.out.println("Search not found.");			return false;		}		else		{			return search(text, selector, true, displayError);		}	}