I am wondering if I could write this code to a file and then print it at a starting location (like an image).
g.setColor(Color.white);
g.fill3DRect(en1X + 0 * enZ, en1Y - 25 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 5 * enZ, en1Y - 30 * enZ, 5 * enZ, 5 * enZ, true);
//alien body
g.fill3DRect(en1X + 10 * enZ, en1Y - 40 * enZ, 5 * enZ, 5 * enZ, true); // left side
g.fill3DRect(en1X + 10 * enZ, en1Y - 35 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 10 * enZ, en1Y - 30 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 10 * enZ, en1Y - 25 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 10 * enZ, en1Y - 20 * enZ, 5 * enZ, 5 * enZ, true); // left side end
g.fill3DRect(en1X + 35 * enZ, en1Y - 40 * enZ, 5 * enZ, 5 * enZ, true); // right side
g.fill3DRect(en1X + 35 * enZ, en1Y - 35 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 35 * enZ, en1Y - 30 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 35 * enZ, en1Y - 25 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 35 * enZ, en1Y - 20 * enZ, 5 * enZ, 5 * enZ, true); // right side end
g.fill3DRect(en1X + 15 * enZ, en1Y - 45 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 30 * enZ, en1Y - 45 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 15 * enZ, en1Y - 15 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 30 * enZ, en1Y - 15 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 20 * enZ, en1Y - 10* enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 25 * enZ, en1Y - 10* enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 20 * enZ, en1Y - 50 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 25 * enZ, en1Y - 50 * enZ, 5 * enZ, 5 * enZ, true);
// body end, Arm right start
g.fill3DRect(en1X + 40 * enZ, en1Y - 30 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 45 * enZ, en1Y - 25 * enZ, 5 * enZ, 5 * enZ, true);
// end arms, start eyes
g.setColor (Color.red);
g.fill3DRect(en1X + 20 * enZ, en1Y - 40 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 30 * enZ, en1Y - 40 * enZ, 5 * enZ, 5 * enZ, true);
// end eyes, start pinsers
g.setColor (new Color (73,29,0));
g.fill3DRect(en1X + 20 * enZ, en1Y - 30 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 30 * enZ, en1Y - 30 * enZ, 5 * enZ, 5 * enZ, true);
g.setColor (new Color (135,51,0));
g.fill3DRect(en1X + 20 * enZ, en1Y - 20 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 30 * enZ, en1Y - 20 * enZ, 5 * enZ, 5 * enZ, true);
g.setColor (new Color (107,42,0));
g.fill3DRect(en1X + 35 * enZ, en1Y - 25 * enZ, 5 * enZ, 5 * enZ, true);
g.fill3DRect(en1X + 15 * enZ, en1Y - 25 * enZ, 5 * enZ, 5 * enZ, true);
// end pinsers
Thanks for any help.