if (cell.getRotation() != 0) { img = Image.getInstance(img); img.setRotation(img.getImageRotation() + (float) (cell.getRotation() * Math.PI / 180.0));
if (cell.getRotation() != 0) { img = Image.getInstance(img); img.setRotation(img.getImageRotation() + (float) (cell.getRotation() * Math.PI / 180.0));