I've been at this one all afternoon. No doubt as a beginner I'm overlooking the obvious:
I'm adding double values to an array of type Point:
The println shows a nice set of randomized double values.
Then I try to retrieve them to do some processing:
Now the println shows me my lovely doubles are now all either 1.0 or 0.0!
Why?
I have made sure I'm not trying to initialise the Point[] array with double values (it only initialises with integers), hence the use of the .setLocation() function.
Please help...