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               
  number = object.getHeight() + number; // what do I 
                         // need to do here

Have I kept this thread organized?

If there's a getHeight() method then there's probably a setHeight(int h) as well.

commented: 1 +1

getters & setters - cheers JamesCherrill