|
I'm assuming when you create a new Properties object that there are two methods put and get, as well as a constructor that takes a Properties object. When you call put, it takes two arguments - of type String. And when you go to retrieve the value of one of the instance variables using get you're passing a String again. The questions become, what are the types of your instance variables, what are their values after you use put and what is the correct function of get?
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. !
Got a little Capt'n in you? (drink responsibly)
|