getting single pixel from the screen

hi freinds,I want to read a single pixel from the screen. can I do it with java2d api. I want to develop floodfill like algorithm and it requires the direct reading from the screen. plz help methanksdharmendra
[244 byte] By [dubey_dharmendra] at [2007-9-26 6:38:48]
# 1
java.awt.Robot.getPixelColor(int x,int y): http://java.sun.com/j2se/1.3/docs/api/java/awt/Robot.html
Asha'man at 2007-7-1 15:55:29 > top of Java-index,Security,Cryptography...