I want to make an object move to a new height from the user request. My code below does not do that. Where am I going wrong.
thanks in advance.
/* instance variables */
private Aobject object;
public void moveObject ()
{
int number;
{
number = Integer.parseInt(Dialog.request("Enter new
height?"));
number = object.getHeight() + number; // what do I
// need to do here
}
}
Have I kept this thread organized?