Answer Posted / modi[achir communication]
A CardLayout object is a layout manager for a container. It
treats each component in the container as a card. Only one
card is visible at a time, and the container acts as a stack
of cards. The first component added to a CardLayout object
is the visible component when the container is first displayed.
The ordering of cards is determined by the container's own
internal ordering of its component objects. CardLayout
defines a set of methods that allow an application to flip
through these cards sequentially, or to show a specified
card. The addLayoutComponent(java.awt.Component,
java.lang.Object) method can be used to associate a string
identifier with a given card for fast random access.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is null a keyword in java?
How do singleton patterns work?
How can you set the applet size?
What are user defined exceptions?
What is vector capacity in java?
What is method with example?
How to sort array in descending order in java?
What is the purpose of java?
How to perform binary search in java?
What is a bubble sort in java?
What if I write static public void instead of public static void in java?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
What is the difference between exception and error in java?
What steps are taken when the OS shifts from one-thread execution to another?
What is meant by design patterns?