mjah, you really shouldn't.
since you are creating a new Object of the type, you won't be working with the Object you've allready stored data in, but with a new one, that has only the data in it, which is specified in the constructor.
since you didn't show the entire constructor, I have no clue wether or not those variables contain null or a value, but I guess it's the first one.
in order to use the data that you've registered in your first frame, once you arrive in the next, you need to use that instance of the Object, not creating a new one. One sollution might be putting that instance as a parameter in your constructor for your next class
Reputation Points: 919
Solved Threads: 354
Nearly a Posting Maven
Offline 2,487 posts
since Jan 2007