Dots are pixels independent of density (with a high degree of accuracy).
For BlackBerry, the most suitable class is net.rim.device.api.ui.Ui , which defines the UNITS_pt constant (and the UNITS_px constant), the convertSize method for converting between points and pixels (since operations on Graphics take pixels instead of points).
A useful methodology for BlackBerry applications is everything related to your font sizes, which you define in points - there is a version of net.rim.device.api.ui.Font.derive that accepts a units parameter and makes it easy to get fonts with a certain point size .
Of course, you cannot take for granted - defining things in points will simplify the situation, but with BlackBerry you are dealing with many different pixel densities and proportions, so check carefully, at least on simulators.
source share