public static int getSelectedItem() {           //ⲿã
        for(int i=0;i<str.length;i++) {
            if(str[i].equals(temp)){                //תΪλã1
                selectedItem=i+1;
                break;
            }
        }
        return selectedItem;
    }