Font size
WorksheetsAWT
Total questions: 18
Worksheet time: 7mins
Which of the following classes are derived from the Container class? Select FOUR correct answers.
Component
Panel
Applet
Dialog
Frame
Which of the following classes are derived from the Component class? Select FOUR correct answers.
Container
Window
List
Choice
MenuItem
Which abstract class is the super class of all menu related classes?
MenuComponent
List
MenuItem
Choice
Which class can be used to represent a checkbox with a textual label that can appear in a menu?
MenuBar
MenuItem
CheckboxMenuItem
Checkbox
Menu
Which layout manager places components in one of five regions: north, south, east, west, and center?
BorderLayout
GridLayout
FlowLayout
CardLayout
Which class encapsulate AWT related events?
AWTEvent
Event
Which class dispatches events to multiple listeners?
AWTEventMulticaster
EventMulticaster
AWTMulticaster
AWTEvent
________ is a blank semantic free window.
Frame
Canvas
Window
Which LayoutManager emulate index cards and only one on the top is showing?
CardLayout
GridLayout
GridBagLayout
FlowLayout
________ creates a POP-UP list with single selection and single visible item only.
Choice
List
Which class encapsulate various information related to Font. This information helps us to display text in the Window.
Font
FontMetrics
Window
Frame
________ encapsulates the borders of the container.
BorderLayout
Insets
FlowLayout
GridLayout
________ encapsulates keyboard shortcuts for menu item.
MenuItem
MenuShortcut
MenuItemShortcut
Shortcut
________ encapsulates a cartesian coordinates pair x and y.
Point
Dimension
________ supports automated testing for AWT based applications.
Robot
Cursor
AutoTest
AWTTest
ScrollPane is a ________ .
Container
Component
________ contains the colors of GUI Widgets.
Color
SystemColor
Graphics
Immediate superclass for TextField and TextArea is?
TextComponent
Component
Container
MenuComponent
