Hello, Thank you for reply,i got it anyhow, my new question is i want to separate the menu with separators which iam not getting means File ------ edit ----- like this if iam using filemenu.addSeparator() it is for separating menuitems not menus if iam using menubar.addSeparator() it showing error, and also i want to give different colors for menu means a file menu with different color and edit with different in order to differentiate them what to do please help me. [ October 14, 2007: Message edited by: vin Hari ]
Hello , Thank you for reply ,it is working ,but my problem still for the separators for menus iam using vertical menu bar hence my menu looks File Edit View but iwant to sepatate them with separators if iam using filemenu.addSeparator() it for separating the menuitems in the filemenu if i use menubar.addSeparator() it is error ,please tell me how to separate these menus please help me.thanks in advance.
Don't mess with me you fool! I'm cooking with gas! Here, read this tiny ad: