Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

BufferedImage questions.  RSS feed

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?


It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!