| Author |
send an ImageIcon object as the Image argument that drawImage() expects?
|
Leonidas Savvides
Ranch Hand
Joined: Jan 31, 2010
Posts: 397
|
|
|
You can send an ImageIcon object as the Image argument that drawImage() expects. true/false
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Is ImageIcon a direct or indirect sub class of Image? If not, is there a method to get an Image object out of the ImageIcon?
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4167
|
|
Leonidas Savvides wrote:You can send an ImageIcon object as the Image argument that drawImage() expects. true/false
To know that, all you have to do is try it.
|
luck, db
There are no new questions, but there may be new answers.
|
 |
Leonidas Savvides
Ranch Hand
Joined: Jan 31, 2010
Posts: 397
|
|
|
I tried but gives error... well is really FALSE...?
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
If you tried and you got an error, the answer seems to be false.
|
 |
 |
|
|
subject: send an ImageIcon object as the Image argument that drawImage() expects?
|
|
|