though it is not always correct.
Screen.heightMm
int heightMm()Returns the height of the default screen in millimeters. Note that on many X servers this value will not be correct.
Returns
the height of the default screen in millimeters,
Deprecated
Use per-monitor information