What is CardLayout?
Answer / 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 |
Howmany classes that package java.applet.* contains?
What are assertions in java?
Difference between class#getinstance() and new operator ?
What is mvc in java?
Distinguish between a predicate and a function?
int a=1; float b=1.0; System.out.println(a==b);
13 Answers CTS, Honeywell, McAfee,
Can an abstract class be a final class?
What is the root class for all Java classes?
How does Vector implement synchronization?
Tell me a few examples of final classes defined in Java API?
while creating thread why we extend thread class
How define set in java?