getLength method

Hello.

I'm very new to programming. I've been reading on methods. I tried to compile a piece of code. I created an object (a rectangle). I have imported the awt library and when i use objectname.getWidth and pass it to a variable and use it, it works correctly; However, when i use objectname.getLength(). It says it does not recognize the symbol.

Could you give me hand?

Thanks

[406 byte] By [gator_811a] at [2007-11-27 8:53:52]
# 1
I got it. It's getHeight. Sorry. :)
gator_811a at 2007-7-12 21:12:03 > top of Java-index,Developer Tools,Java Compiler...