Programming - Swings
You Are Here :: Home > JAVA > Swings - General Questions
43. |
public void setEnabled(boolean b) is used to determine whether the ___________ is editable.
|
A. |
JComboBox |
B.
|
Jbox |
C.
|
J ChooserBox
|
D.
|
Chooser Box
|
|
Answer: Option A
Explanation:
public void setEnabled(boolean b) is used to determine whether the JComboBox is editable. |
|
44. |
The Jtable class is used to display the data on __________ tables of cells.
|
A. |
multi dimensional |
B.
|
one dimensional |
C.
|
three dimensional
|
D.
|
two dimensional
|
|
Answer: Option D
Explanation:
The Jtable class is used to display the data on two dimensional tables of cells. |
|
45. |
Jtable() creates a table with ______________.
|
A. |
non empty cells |
B.
|
empty cells |
C.
|
both a and b
|
D.
|
all the above
|
|
Answer: Option B
Explanation:
Jtable() creates a table with empty cells. |
|
46. |
Jtable(Object[][] rows,Object[] columns) creates a___________ with the specified data.
|
A. |
table |
B.
|
row |
C.
|
column
|
D.
|
all the above
|
|
Answer: Option A
Explanation:
Jtable(Object[][] rows,Object[] columns) creates a table with the specified data. |
|
47. |
The ____________is used to create a color chooser dailog box so that user can select any color.
|
A. |
ColorChooser class |
B.
|
Jchooser class |
C.
|
Jcolor class
|
D.
|
JColorChooser class
|
|
Answer: Option D
Explanation:
The JColorChooser class is used to create a color chooser dailog box so that user can select any color. |
|
48. |
____________is used to create a color chooser pane with white color initially.
|
A. |
ColorChooser() |
B.
|
JColorChooser() |
C.
|
Chooser()
|
D.
|
JChooser()
|
|
Answer: Option B
Explanation:
JColorChooser() is used to create a color chooser pane with white color initially. |
|
« prev
next »