// Point shadows
tempGraphics.setColor(Color.black);
tempGraphics.fillOval(x1-3, y1-3, 4,4);
tempGraphics.fillOval(x2-3, y1-3, 4,4);
tempGraphics.fillOval(x2-3, y2-3, 4,4);
tempGraphics.fillOval(x1-3, y2-3, 4,4);
// Points
tempGraphics.setColor(Color.red);
tempGraphics.fillOval(x1-2, y1-2, 4,4);
tempGraphics.fillOval(x2-2, y1-2, 4,4);