I found this link . Maybe useful. Give it a try.
This basically suggests that
Java assumes 72 dpi screen resolution Windows uses 96 dpi or 120 dpi depending on your font size setting in the display properties.
The site offers
instead of using getNormalizingTransform() you have to use getScreenResolution()
From the website again.
int screenRes = Toolkit.getDefaultToolkit().getScreenResolution(); int fontSize = (int)Math.round(12.0 * screenRes / 72.0);
kensen john
source share