Hey hwang, can u send me the complete JAVA file, class and code to my email address? i really appreciate it.. n a question about RGB: the subject is a supervising camera, and in order to set an alarm, a difference in the picture taken should occur different than the oroginal one, so i thought of performing a pixel comparaison with RGB values. I need to know how to compare them both n how can i get the values, is there any equation for it? thanks.. plz reply to me on lethe_83@yahoo.com