Top Posters
Since Sunday
6
o
5
5
b
4
s
3
j
3
b
3
m
3
K
3
g
3
L
3
w
3
New Topic  
Eels Eels
wrote...
Posts: 716
Rep: 0 0
7 years ago
What will display when the following code is executed?

JButton button =
    new JButton ("It is a beautiful morning.");
button.setIcon(SunnyFace.gif);

A) a button with the text "It is a beautiful morning." to the right of the SunnyFace image
B) a button with the text "It is a beautiful morning." above the SunnyFace image
C) a button with the text "It is a beautiful morning." to the left of the SunnyFace image
D) a button with the text "It is a beautiful morning." below the SunnyFace image
Textbook 
Starting Out with Java: Early Objects

Starting Out with Java: Early Objects


Edition: 4th
Author:
Read 142 times
3 Replies
Replies
Answer verified by a subject expert
ToothyToothy
wrote...
Top Poster
Posts: 744
Rep: 4 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

Eels Author
wrote...
7 years ago
This helped so much
wrote...
7 years ago
Thanks for providing feedback
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1059 People Browsing
Related Images
  
 251
  
 365
  
 226
Your Opinion
Which country would you like to visit for its food?
Votes: 261