@@ -0,0 +1,692 @@
+/*%0D%0A * To change this license header, choose License Headers in Project Properties.%0D%0A * To change this template file, choose Tools %7C Templates%0D%0A * and open the template in the editor.%0D%0A */%0D%0Apackage com.seniorproject.augmentedreality.utils;%0D%0A%0D%0Aimport java.awt.Canvas;%0D%0Aimport java.awt.Graphics;%0D%0Aimport java.awt.Image;%0D%0A%0D%0A/**%0D%0A *%0D%0A * @author RainWhileLoop%0D%0A */%0D%0Apublic class MyCanvas extends Canvas %7B%0D%0A%0D%0A    private Image image;%0D%0A    %0D%0A    @Override%0D%0A    public void paint(Graphics g) %7B%0D%0A        g.drawImage(image, 0, 0, null);%0D%0A    %7D%0D%0A%0D%0A    public Image getImage() %7B%0D%0A        return image;%0D%0A    %7D%0D%0A%0D%0A    public void setImage(Image image) %7B%0D%0A        this.image = image;%0D%0A    %7D%0D%0A    %0D%0A    %0D%0A%7D%0D%0A

add MyCanvas class for drawImage on Canvas