I have a bit complicated problem here..
I am writing an applet in whic there r 3 buttons on the top of the applet.On the click of the first button(calci) i should get a calculator to be displayed on the same applet .On the click of second button I should get another display having many buttons,check box,.etc doing various functions and the calculator should not be visible.I have written the code of th calci and others seperatly and r working fine.Now i am not able to put all the things in one applet.I am getting stuck as to where to write the listener code and whether to use Component or container class and how to actually use the card layout.
Can any one guide be in brief.
I am writing an applet in whic there r 3 buttons on the top of the applet.On the click of the first button(calci) i should get a calculator to be displayed on the same applet .On the click of second button I should get another display having many buttons,check box,.etc doing various functions and the calculator should not be visible.I have written the code of th calci and others seperatly and r working fine.Now i am not able to put all the things in one applet.I am getting stuck as to where to write the listener code and whether to use Component or container class and how to actually use the card layout.
Can any one guide be in brief.