ONLY in AWT. (for Applet)

I like to have 2 cards where I can
display one at desired time
and same goes to the another card.

I like to group few gui components
in a panel and I may have
few panels for different gui components.

Could you please show me a sample
code where I can have a
card as the main container and follow
by panels?

I couldn't make it to work..
Again kindly show me the code using
AWT (dowan swing) and
for an applet.

Pls help.