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