/** rotateThread constructer initialize the Component mCanvas BufferedImage Graphics */ public rotateThread(Component owner, BufferedImage bufimg) { this.own = owner; this.bufimg = bufimg; canvas = new mCanvas(bufimg.getWidth(), bufimg.getHeight(), own, bufimg); canvas.setCurcolor(mMath.toRGB(255, 255, 255, 0)); }