I have a java midlet that I am trying to run on the Treo 650 on top of the IBM JVM. The problem is that getWidth() is returning 160 and getHeight() is returning 144. The Treo 650 screen is 320x320 so I would expect to get back something like 320x300 (some number of pixels along the bottom are assigned to the softkeys I guess). Because of the wrong screen dimensions returned, all my graphics are fuzzy and distorted.

Anybody else seeing this? Is it a known problem, or am I doing something wrong, or is there a trick I am not aware of?

Thanks!