Thanks Alex for the reply. Before assigning it to menuBar I need to make the menu hierarchy. I am parsing XMLList to ArrayCollection to get the data in the format given below. I assigned that ArrayCollection to the MenuBar but it gave me menu horizontally whereas I need this in hierarchy based on ID and PARENT_ID values. ID LABEL MENU_LABEL STATUS PARENT_ID
1 File TOP_LEVEL ENABLED 2 CustFile ROOT DISABLED 1 3 Security SUB_MENU ENABLED 1 5 AccessOpt ROOT DISABLED 3 6 UserSetup ROOT DISABLED 3 7 ChngPwd ROOT ENABLED 3 9 List TOP_LEVEL ENABLED 13 Locations ROOT DISABLED 9

