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
What is java literals?
Do extraneous variables affect validity?
How is hashset defined in java?
What does indexof mean?
Why do we use bufferedreader?
What is the difference between a loader and a compiler?
What is meant by collection in java?
What are the access modifiers in java?
Can you explain the final method modifier?
Are arrays static in java?
What is size of int in java?
What is the use of singleton?
Which oo concept is achieved by using overloading and overriding?
What is a two-pass assembler?
Define how can we find the actual size of an object on the heap?