Only 49 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

send an ImageIcon object as the Image argument that drawImage() expects?  RSS feed

 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can send an ImageIcon object as the Image argument that drawImage() expects. true/false
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried but gives error... well is really FALSE...?
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you tried and you got an error, the answer seems to be false.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!