problem 1: Fill up the blanks:
a) Labels, TextFields, Menus and so on, are exs of ________ components.
b) The default Layout Manager for an applet is __________.
c) ___________ User Interface component can be employed to enter the multiple lines of text.
d) The __________ class divides the screen into equivalent sized columns and rows.
e) Exclusive checkboxes are as well termed as __________.
problem 2: State whether the given are true or false:
a) The Windows class is an abstract class.
b) User Interface components can be added to the desired window by using add( ) method.
c) Buttons can be labeled by using only the label component.
d) Exclusive checkboxes are as well termed as the radio buttons.
problem 3: prepare down an applet program to produce a form in a new window which accepts the given data from the user: name, parent's name and address. The user can choose his age group from under-20, between 20 and 50 and above 50 years and choose working or non working from a Checklist. Add buttons to open and close the window.
problem 4: Make an applet having three buttons – red, green and blue. The background color is initially set to white. Based on the button pressed, the background color must change accordingly. If the user presses the button labeled red, the background color must change to red.