Are you saying that the values of the variables are 0?
When does the getWidth() method have a useful value that can be assigned to the variable?
The code should wait until there is a useful...
Type: Posts; User: Norm
Are you saying that the values of the variables are 0?
When does the getWidth() method have a useful value that can be assigned to the variable?
The code should wait until there is a useful...
Where are the variables declared as class variables?
variables defined in a method are only known in that method.
Please edit your post and wrap your code with
<YOUR CODE HERE>
to get...