The Custom Field is not drawing properly
Labels:
Summary
This article applies to the following:
- BlackBerry® wireless devices based on Java™
- BlackBerry Java Development Environment (JDE)
Description
Occasionally, after creating a Custom Field in an application, compiling, and building the application, the field does not appear. A possible reason for this occurrence is that setExtent(x,y) has not been called. The setExtent() method must be called within the field layout() method as it defines the extent of the field size and tells how much of the screen to repaint (the default is zero). So without this call, although there are no errors, the field is never painted.
Additional Information
For more information, please see the BlackBerry Application Developer Guide Volume 1.

