Questions and Answers
AWT Means?
Abstract Windows Toolkit
Which is the immediate super class of Applet?
Frame
The setSize( ) method is defined by this class…
Component
Which class encapsulates a blank window upon which we can draw?
Signup and view all the answers
What are the variables defined in ‘Dimension’ class?
Signup and view all the answers
If we want to hide the window, we can use this method…
Signup and view all the answers
Color class can create object of it using which of the following color
Signup and view all the answers
The setColor( ) is the method of which class?
Signup and view all the answers
Which of the following style is not supported by Font class?
Signup and view all the answers
All the AWT controls are subclasses of which class?
Signup and view all the answers
How you can remove all the controls from the applet?
Signup and view all the answers
Which of the following is passive AWT control?
Signup and view all the answers
Which alignment is not supported by Label?
Signup and view all the answers
How can we create Radio buttons?
Signup and view all the answers
How to add the names in choice controls?
Signup and view all the answers
Multiple selections are allowed in…
Signup and view all the answers
How can we copy the ‘List’s contents into ‘Choice’s contents
Signup and view all the answers
What is default block-increment of Scrollbar?
Signup and view all the answers
The immediate super class of TextArea is…
Signup and view all the answers
Is it possible to change display character of TextField? How?
Signup and view all the answers
Is it possible to center the text typed in TextField? How?
Signup and view all the answers
Which method is used to append the text at the end of TextArea?
Signup and view all the answers
FlowLayout does not support this value of alignment…
Signup and view all the answers
The setLayout( ) is the method of which class?
Signup and view all the answers
BorderLayout does not support this value of alignment…
Signup and view all the answers
The correct constructor of Insets( ) which uses the values is…
Signup and view all the answers
The various controls supported by AWT are
Signup and view all the answers
The concept of the menu bar canbe implemented by using three java classes—
Signup and view all the answers
The most commonly used layout managers are
Signup and view all the answers
The constructor which the Text Event class defines.
Signup and view all the answers
In Java an event is an which specifies the change of state in the source
Signup and view all the answers
The name of the event classes are
Signup and view all the answers
The classes and interfaces defined in AWT are contained within the package.
Signup and view all the answers
Java packages such as ...... support the Event handling mechanism.
Signup and view all the answers
The general form to set a specific type of layout manager is
Signup and view all the answers
Some of the event listener interfaces are
Signup and view all the answers
The AWT container is an instance of the class which holds various components and other containers
Signup and view all the answers
A checkbox is a control that consists of a
Signup and view all the answers
Java applets are used to create applications
Signup and view all the answers
In Java, events are all the activities that occur between
Signup and view all the answers
- AWT means
Signup and view all the answers
Positions the components into five regions:east, west, north, south, center
Signup and view all the answers
Arranges the components as a deck of cards such that only one component is visible at a time
Signup and view all the answers
Arranges the components horizontally
Signup and view all the answers
Arranges the componemnts into grid
Signup and view all the answers
creates a dropdown list of textual entries
Signup and view all the answers
The Component class and MenuComponent class are the which represent the GUI components.
Signup and view all the answers
The Component class is an abstract class and so its are used to create components
Signup and view all the answers
The AWT classes can be roughly categorized into the following groups:
Signup and view all the answers
Panel is used for components
Signup and view all the answers
An Applet is a of Panel:
Signup and view all the answers
Window is used for windows
Signup and view all the answers
The subclasses of Window are
Signup and view all the answers
The CardLayout class defines the following constructors:
Signup and view all the answers
A menu bar represents
Signup and view all the answers
Each menu is associated with a list of menu items:
Signup and view all the answers
The two types of menus which are given as follows:
Signup and view all the answers
Regular menus are placed at the of the application window within a menu bar
Signup and view all the answers
The interface is used to handle the menu events
Signup and view all the answers
The text field and text area controls create a area respectively
Signup and view all the answers