Monday, 13 February 2012

What method is used to specify a container's layout? Core Java

The setLayout() method is used to specify a container's layout.

What is the preferred size of a component? | Core Java

The preferred size of a component is the minimum component size, whihc  will be allow the component to display normally.

Which containers use a border Layout as their default layout in swing? | Core Java

many containers are there :
  • The window,
  •  Frame and
  •  Dialog classes use a border layout as their default layout.

What is clipping? | Core Java

Clipping is the bassically the process of confining paint operations to a limited area or shape.

What is a layout manager? | Core Java

A layout manager is an object that is used to organize components in a container.

What is an event handler in swing? | Core Java

An Event handler is bassically a part of a computer program created to tell the program how to act in response to a specific event.

What is an event in Swing? | Core Java

Event is basscially as Changing the state of an object is called an event.