You can't set a value with a get method, that's paradoxical. Unless, of course, you hate the people reading your code and use get for setting and set for getting variables.
You can't set a value with a get method, that's paradoxical. Unless, of course, you hate the people reading your code and use get for setting and set for getting variables. I'm thinking that you are trying to set some other value using this class's get methods, in which case you should post them, and make an SSCCE.
But since you didn't post that code I can't be much help here. However, it doesn't look like you have a constructor to initialize all of the values: public Value() { screenName = ""; screenWidth = 0; screenHeight = 0; debug = false; } The point of a constructor is to make all of your values not null. Since you don't have one, everything is still null.
Then, when you initialize v (assuming it's type is Value), you call the constructor like this: Value v = new Value(); The constructor can also take arguments to pre-set the values to something chosen by the instantiation.
Technically, you could, if the method was poorly-named. – Dave Newton Dec 17 '11 at 3:31 1 @DaveNewton, yes, but I like pretending that everyone is better than that. – Jon Dec 17 '11 at 3:32 8 You're young; you'll grow out of it.
– Dave Newton Dec 17 '11 at 3:32.
I notice that your br.close() is within the while loop. Any chance that has something to do with it?
1 I think you nailed it. He'll only read at most one line from his config. Cfg file and then stop processing.
– phatfingers Dec 17 '11 at 4:17.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.