|
Re: What is meant by CardLayout ?
CardLayout displays only one component at a time. (That component could be a Component or another Container.)
A CardLayout allows you to assign names to the components it manages. You can use the name to jump to an arbitrary component by calling the manager's show() method.
CardLayout help you to manage many classes in same display area - dynamicly changing dialog boxes by user input (like a playing card, where only top card is visible ).
|