for Android API 10.

I am trying to use the library for Android app. Android doesn't have AWT classes. Android has some newer Java functions only in newer APIs.