Does the deprecated method have any JavaDoc with it that gives a suggestion of what has replaced it? Perhaps check the JavaDoc online for the JDK you're using.