How to draw a line on an Image-Very Urgent

How to draw a line on an Image .......
[52 byte] By [alankariitr] at [2007-9-27 4:42:34]
# 1
Image myImage = new Image("image.jpg");Graphics myGraphics = myImage.getGraphics();myGraphics.drawLine(x1,y1,x2,y2);-Jason Thomas.
thedracle at 2007-7-5 14:30:06 > top of Java-index,Archived Forums,Swing...