How to copy bufferedImage

后端 未结 4 896
迷失自我
迷失自我 2021-01-28 02:48

I have written the following example to give something runnable of a problem I am having. When you press the button the controlWhichImage switches to 2. The problem is that when

4条回答
  •  暖寄归人
    2021-01-28 03:25

    Of course! You have to go and paint the image at the outskirts. Please use this

    g.drawImage(this.createdImage, 0, 0, this.createdImage.getWidth(),this.createdImage.getHeight(),null);
    

提交回复
热议问题