I think he/she might be referring to the Java CardLayout class to switch between two panels, don't think there's a CardLayout class in pascal unless you build it yourself...

Anyway, without knowing which graphics library and or language (java ?) you are using it's difficult to help...