Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


What is CardLayout?



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

Post New Answer

More Core Java Interview Questions

where do we use init()

2 Answers  


why pointer is not used in java?

3 Answers  


what is main purpose of abstract class?

7 Answers  


Can we force the garbage collection to run?

0 Answers  


How would you convert bytes to string?

0 Answers  






define the terminology association.

0 Answers  


where to use join method and explain with real time senario?and programatical explenation also..

1 Answers   TCS,


What is a Java package and how is it used?

2 Answers  


Where import statement is used in a java program?

0 Answers  


What are order of precedence and associativity, and how are they used?

1 Answers  


What restrictions are placed on method overriding in java programming?

0 Answers  


Suppose there is a System A which gives some output. This output is used as input by system B. The rate at which System A produces is faster than the rate at which system B consumes it. How can you improve this?

1 Answers   RBS,






Categories