Replace deprecated classes & methods with their non-deprecated equivalents.

All migrated components are from Eclipse 3.2 or earlier.