AWT api replaced by Graphics

As android doesn't support java.awt.*(image processing), it had to be
replaced with an equivalent graphics  API.