public class MenuTester1 extends Activity {





    @Override


    public void onCreate(Bundle savedInstanceState) {


        super.onCreate(savedInstanceState);


        setContentView(R.layout.main);


        registerForContextMenu(myListView);


    }


   


    /* Creates the menu items */


    @Override


    public boolean onCreateOptionsMenu(Menu menu) {


        menu.add(0, MENU_ITEM1, 1, "Menu1");


        SubMenu Submenu2 = menu.addSubMenu(0, SUBMENU_ITEM10, 8, "Submenu1");


        Submenu2.add(99, SUBMENU_ITEM21, 2, "Submenu2-1");


        Submenu2.add(99, SUBMENU_ITEM22, 1, "Submenu2-2");


        return result;


    }





    /* Handles item selections */


    @Override


    public boolean onOptionsItemSelected(MenuItem item) {


        switch (item.getItemId()) {


        case MENU_ITEM1: myTextView.setText("Menu item " + item.getItemId()); return true;


        case MENU_ITEM2: myTextView.setText("Menu item " + item.getItemId()); return true;


        :


}


        return false;


    }


   


    @Override


    public boolean onPrepareOptionsMenu(Menu menu) {


    }


   


    @Override


    public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfo) {


    menu.add("CMenu2");


    }


       


    @Override


    public boolean onContextItemSelected(MenuItem item) {


        switch (item.getItemId()) {


        case CMENU_ITEM1: myTextView.setText("CMenu item " + item.getItemId()); return true;


        case CMENU_ITEM2: myTextView.setText("CMenu item " + item.getItemId()); return true;


        :


}


        return true;


    }


}


인터넷에 돌고 있는 소스인데요 여기서 myTextView 이걸 인식을 못하구요
case MENU_ITEM1: myTextView.setText("Menu item " + item.getItemId()); return true;


        case MENU_ITEM2: myTextView.setText("Menu item " + item.getItemId()); return true;


        :

 여기서 콜론이 오류인데 왜그런지 모르겠습니다
이유를 아시는분이나 .. 메뉴랑 서브메뉴 만드는 소스 아시는분은 자세히좀 알려주세요 ㅠ