Hi evry1 i am creating a gui form(In NETBEANS) in which i am using a canvas. now in my prog i have a Graphic2d object which contains a image. How to add this image to canvas Thanks sagar
Use a search for paint() and drawImage(). I'm sure you'll get lots of code examples. Or just override the paint() method and use the drawImage() method.
BWA HA HA HA HA HA HA! Tiny ad:
a bit of art, as a gift, that will fit in a stocking