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
Can a class have an interface?
Difference difference paint() and paintcomponent()?
Explain yield() method in thread class ?
Define immutable object?
What is the purpose of main function in java?
How many tetrahedral voids are there in bcc?
What is a default method?
How would overload a function based on return type?
How to access arraylist elements in java?
Why we use protected in java?
what is a green thread? : Java thread
Difference between operator overloading and function overloading
What is an empty string in css?
What does three dots mean in java?
What are the types of sockets in java?