What will display when the following code is executed:
JLabel label = new JLabel ("It is a beautiful morning.");
labed.setIcon(SunnyFace.gif);
A) A label with the text "It is a beautiful day." to the left of the SunnyFace image
B) A label with the text "It is a beautiful day." to the right of the SunnyFace image
C) A label with the text "It is a beautiful day." below the SunnyFace image
D) A label with the text "It is a beautiful day." above the SunnyFace image
B) A label with the text "It is a beautiful day." to the right of the SunnyFace image
You might also like to view...
Saturation is the difference between the darkest and lightest areas of a picture
Indicate whether the statement is true or false
?You oversee the training of new employees at your organization. The organization has undertaken a project to create a web based training system to train the new employees. Your role in the project steering team would be that of a ________.
Fill in the blank(s) with the appropriate word(s).