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 the difference between stored procedure & function?
What is the final method?
What is a parameter in simple terms?
Define array. Tell me about 2-D array.
What is difference between arraylist and list in java?
What is string :: npos?
How do you convert bytes to character in java?
What is the parse method in java?
How to use Media tracker Class.
Is 0 true or false?
How to make a class or a bean serializable?
What is the differences between heap and stack memory in java? Explain
How to add menushortcut to menu item?
What is a void method?
What are disadvantages of java?