I know the methods, but when i use them they throws java.lang.NullPointerException
You get that exception because you haven't initialized the objects. You have create something with "new" in order to use it.
Reputation Points: 1014
Solved Threads: 446
Nearly a Senior Poster
Offline 3,259 posts
since Dec 2007