Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BufferedImage questions.

David Laverty
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have two classes.

-Class 1 is Frame1 which holds "main" (jPanel), and a button which starts the createImage process.
-Class 2 creates a bufferedImage with the following code.

- The array bi[0] works correctly as it changes from null to the image.
-Using the code above, nothing is displayed. I would like it to be displayed in Frame1.main at 110,110.
-Once this problem is fixed, i intend to change the "110 110" to different variables using loops.

Are you able to assist with the displaying the image on the appropriate location, and have you any advice on probelms i may come across in the next procedure?


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic