1.AWT Imp Questions
1.AWT Imp Questions
Heavy weight components depend on the local windowing toolkit. For example, java.awt.Button
is a heavy weight component, when it is running on the Java platform for Unix platform, it maps
to a real Motif button.
Question: 2
Labels, Pushbuttons, Checkboxes, Choice lists, Lists, Scroll bars, Text components
Question: 3
What is clipping?
Clipping is the process of confining paint operations to a limited area or shape.
Question: 4
We can have a pluggable look and feel feature which shows us how they appear in other
platforms.
We can add images to Swing components. We have toolbars and tooltips in Swing.
Question: 5
The window class can also be used to display introduction or welcome screens.
Question: 6
Question: 7
Button
Canvas
Checkboc
Choice etc.
Question: 8
Question: 9
Question: 10
A list may be displayed in such a way that several list items are visible and it supports the
selection of one or more list items.
Question: 12
Question: 13
Question: 14
Question: 15
Exclusive: only one among a group of items can be selected at a time. If an item from the group
is selected, the checkbox currently checked is deselected and the new selection is highlighted.
The exclusive Checkboxes are also called as Radio buttons.
Non Exclusive checkboxes are not grouped together and each one can be selected of the other.
Question: 16
Question: 17
Question: 18
Question: 19
Window,
Panel,
ScrollPane
Question: 20
Which method is method to set the layout of a
container?
setLayout ()