Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BufferedImage questions.

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

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?

regards

david
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic