Podcast
Questions and Answers
A label is a simple control which is used to display_____________ on the window:
A label is a simple control which is used to display_____________ on the window:
Which type of container do not have any type of menubar?
Which type of container do not have any type of menubar?
MVC means Model View ___________
MVC means Model View ___________
The interface is used to handle the menu events
The interface is used to handle the menu events
Signup and view all the answers
The ActionListener interface is not used for handling action events?
The ActionListener interface is not used for handling action events?
Signup and view all the answers
Which class is used for this processing method processActionEvent()?
Which class is used for this processing method processActionEvent()?
Signup and view all the answers
Which event is generated when the position of scrollbar is changed?
Which event is generated when the position of scrollbar is changed?
Signup and view all the answers
A Frame's _______________ designates the area of the frame
excluding the title,menu bar and the border.
A Frame's _______________ designates the area of the frame excluding the title,menu bar and the border.
Signup and view all the answers
At the top of the AWT hierarchy is the__________________ class.
At the top of the AWT hierarchy is the__________________ class.
Signup and view all the answers
By default the Frame has a _______________________________
By default the Frame has a _______________________________
Signup and view all the answers
By which method You can set or change the text in a Label?
By which method You can set or change the text in a Label?
Signup and view all the answers
BorderLayout b = new BorderLayout(3,4);
The above statement is incorrect
BorderLayout b = new BorderLayout(3,4); The above statement is incorrect
Signup and view all the answers
By default flowlayout uses __________justification.
By default flowlayout uses __________justification.
Signup and view all the answers
Border Layout is divided into_________regions.
Border Layout is divided into_________regions.
Signup and view all the answers
Combobox is a combination of ________________________
Combobox is a combination of ________________________
Signup and view all the answers
Default layout manager for Window is
Default layout manager for Window is
Signup and view all the answers
How To Apply Image To Button ?
How To Apply Image To Button ?
Signup and view all the answers
In AWT Checkbox class is used to create __________
In AWT Checkbox class is used to create __________
Signup and view all the answers
How would you set the color of a graphics context called g to cyan?
How would you set the color of a graphics context called g to cyan?
Signup and view all the answers
AWT is heavy weight component
AWT is heavy weight component
Signup and view all the answers
setMenuBar() method of which class?
setMenuBar() method of which class?
Signup and view all the answers
In given constructor what 3rd
parameter indictaes
Scrollbar s=new
Scrollbar(0,10,20,0,1000)
In given constructor what 3rd parameter indictaes Scrollbar s=new Scrollbar(0,10,20,0,1000)
Signup and view all the answers
In order to obtain currunt value of
scrollbar at run time which method you
will use
In order to obtain currunt value of scrollbar at run time which method you will use
Signup and view all the answers
What is point?
What is point?
Signup and view all the answers
what will be the output
what will be the output
Signup and view all the answers
Which of the following are the methods of checkbox
Which of the following are the methods of checkbox
Signup and view all the answers
What is API
What is API
Signup and view all the answers
_____________ method returns currently selected item in choice.
_____________ method returns currently selected item in choice.
Signup and view all the answers
Which of the method can be used to output a String in an Applet?
Which of the method can be used to output a String in an Applet?
Signup and view all the answers
What are the types of DialogBox?
What are the types of DialogBox?
Signup and view all the answers
The following way is used to create a frame is by creating the object of Frame class?
The following way is used to create a frame is by creating the object of Frame class?
Signup and view all the answers
Panel class is a concrete sub-class of container.
Panel class is a concrete sub-class of container.
Signup and view all the answers
When there is a switching condition like ON or OFF, which control is used of following?
When there is a switching condition like ON or OFF, which control is used of following?
Signup and view all the answers
All Component on Container can be removed by calling following
method
All Component on Container can be removed by calling following method
Signup and view all the answers
Canvas is a ________________
Canvas is a ________________
Signup and view all the answers
Which is the container that contain title bar and can have MenuBars.It can have other components likenbutton,textfield etc.?
Which is the container that contain title bar and can have MenuBars.It can have other components likenbutton,textfield etc.?
Signup and view all the answers
Which class provides many methods for graphics programming?
Which class provides many methods for graphics programming?
Signup and view all the answers
The getContentPane() method is of which clasS?
The getContentPane() method is of which clasS?
Signup and view all the answers
Frame is a standard window, which is _______________ of window class from AWT hierarchy?
Frame is a standard window, which is _______________ of window class from AWT hierarchy?
Signup and view all the answers
Which of these classes can be added to any Container class, using the add method defined in Container class?
Which of these classes can be added to any Container class, using the add method defined in Container class?
Signup and view all the answers
The method _________________ places a Menu m into the MenuBar mb.
The method _________________ places a Menu m into the MenuBar mb.
Signup and view all the answers
________________ is a swing class that allows to enter a singleline of text.
________________ is a swing class that allows to enter a singleline of text.
Signup and view all the answers
The correct hierarchy for Panel is___________________
The correct hierarchy for Panel is___________________
Signup and view all the answers
Controls not supported by awt are
Controls not supported by awt are
Signup and view all the answers
Executable applet is nothing but _________ file of applet
Executable applet is nothing but _________ file of applet
Signup and view all the answers
In FlowLayout manager the default space between each component is
In FlowLayout manager the default space between each component is
Signup and view all the answers
Scrollbar( ) creates a ______________ scroll bar by default.
Scrollbar( ) creates a ______________ scroll bar by default.
Signup and view all the answers
Text field usually called as
Text field usually called as
Signup and view all the answers
The method setLabel can be used with what type of Object ?
The method setLabel can be used with what type of Object ?
Signup and view all the answers
To retrieve the current state of a check box,call
To retrieve the current state of a check box,call
Signup and view all the answers
Which Among the below is not an AWT class.
Which Among the below is not an AWT class.
Signup and view all the answers
Which of the following are the methods of choice
Which of the following are the methods of choice
Signup and view all the answers
Which of the following is the correct method of scrollbar
Which of the following is the correct method of scrollbar
Signup and view all the answers
Which class can be used to represent a checkbox with a textual label that can appear in a
menu. Select the one correct answer.
Which class can be used to represent a checkbox with a textual label that can appear in a menu. Select the one correct answer.
Signup and view all the answers
What will be the output of line 5
What will be the output of line 5
Signup and view all the answers
Which components are reuired to get following output
Which components are reuired to get following output
Signup and view all the answers
Select one option
Select one option
Signup and view all the answers
Which is the correct constructor of GridLayout
Which is the correct constructor of GridLayout
Signup and view all the answers
init() method exectues only once.
init() method exectues only once.
Signup and view all the answers
Which of the following controls does not support interaction with user?
Which of the following controls does not support interaction with user?
Signup and view all the answers
Select any one
Select any one
Signup and view all the answers
Select any one
Select any one
Signup and view all the answers
Which components are used in the following output
Which components are used in the following output
Signup and view all the answers
Choose the correct sequence for the following output
Choose the correct sequence for the following output
Signup and view all the answers
Components in the frame is added at appropriate place using
Components in the frame is added at appropriate place using
Signup and view all the answers
Multiple layouts in the single conainer can be created with the help of
Multiple layouts in the single conainer can be created with the help of
Signup and view all the answers
Say that a Frame contains three Panels. Could each Panel have a
different layout manager?
Say that a Frame contains three Panels. Could each Panel have a different layout manager?
Signup and view all the answers
Which statement with respect to inner class is true.
Which statement with respect to inner class is true.
Signup and view all the answers
The set Background() method is part of which of the following class java.awt package
The set Background() method is part of which of the following class java.awt package
Signup and view all the answers
How many types of controls does AWT supports these controls are Subclasses of component?
How many types of controls does AWT supports these controls are Subclasses of component?
Signup and view all the answers