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 a vector in java?
What is java in detail?
Explain the difference between private, public, package and protected in java?
What is polymorphism and what are the types of it?
What are the skills required for core java?
What happens to a static var that is defined within a method of a class?
Which language is java?
What is a void method?
How to create com object in Java?
If I only change the return type, does the method become overloaded?
Discuss 2D arrays.
What is the flag in java?
Can we sort hashmap in java?
Write a program to search a number in the given list of numbers.
What is a nullable field?