Programming - Swings

You Are Here :: Home > JAVA > Swings - General Questions

 
19.

public void setEnabled(boolean b) is used to __________ the button.                        


A. enable B. disable
C. enable or disable D. none




20.

public void setIcon(Icon b) is used to set the __________ on the button.                        


A. un specified Icon B. specified Icon
C. icon D. variable




21.

___________ is used to get the Icon of the button.                        


A. public Icon getIcon() B. Icon getIcon()
C. public Icon() D. public getIcon()




22.

public void setMnemonic(int a) is used to set the ___________ on the button.                        


A. string B. value
C. mnemonic D. all the above




23.

public void addActionListener(ActionListener a) is used to ___________ the action listener to this object.                        


A. delete B. modify
C. add D. none




24.

The _________ is used to create a radio button.                        


A. RadioButton class B. JRadioButton class
C. JRadioButton(String s) D. JButton(String s)




« prev

1

2

3

4

5

6

7

8

9

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on