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
Explain the public class modifier?
What is anagram in java?
Explain what access modifiers can be used for methods?
What is array class in java?
What type of variable is error flag?
explain what is transient variable in java?
Can we have multiple public classes in a java source file?
What are "class access modifiers" in Java?
Is space a char?
hr interview how many minutes asking question
What is the difference between and ?
If a method is declared as protected, where may the method be accessed?
What is the base class of all classes?
What is integer valueof?
When would you use a static class?