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 |
Explain where variables are created in memory?
What is incompatible types in java?
What are File and RandomAccessFile classes?
What is a memory leak in java?
What is the base class of all exception classes?
What do you understand by casting in java language?
Mention the default values of all the elements of an array defined as an instance variable.
What is a file pointer?
Why java is considered dynamic?
What do you mean by platform independence?
What is a marker interface?
Can we catch more than one exception in single catch block?