HI, SARGE IN HIS TEST1 Q27 ASKS? WHAT CANNOT BE ADDED TO A CONTAINER :- A)APPLET B)CONATINER C)COMPONENT D)MENU E)PANEL ACCORDING 2 HIM ANS IS D . NOW WHY NOT A ALSO THX IN ADVANCE REGARDS, KAUSHIK
Hi Manfred & Steve, i know that applet is inherited from panel but have u seen any code where an applet has been added to a container for eg a panel or a frame. can u provide me a code snippet of the same ? Pls do reply Thx in advance Regards, Kaushik
Hi Manfred & Steve, thanks 4 the code . i managed 2 add the applet on a frame. pls can u consider the question again. it says Menu cannot be added 2 a container but PopUp Menu is also a menu & it can be added 2 any component . then isn't the q wrong? what do u think? Regards, Kaushik
It hasn't mentioned popupmenu in the the choice's.Menu is wrong because u cannot add a menu to thecontainer directly,In order to add menu to a conatiner u got to add a menubar inside which u can add menu but not directy.