Run TrayIcon test which shows popup menu. Compare the labels in it with the native popups - TrayIcon popup menu uses larger font.
###@###.### 2005-06-09 15:35:36 GMT
Comments
For what it's worth, the bug could be closed: neither JDK 6 nor Windows XP are supported.
There are no screenshots attached.
It could still be related to High DPI… It was possible to set DPI to 120 in XP, which corresponds to 125%, the font size reported by Windows API would take that into account.
Anton Tarasov's comment above suggests the problem wasn't specific to tray icon popup. It's also true for JDK-8259913 which is not specific to tray icon popup menu, it affects all AWT popup menus.
25-03-2024
Perhaps . But this was filed against JDK 6 and we did not do hidpi on windows until JDK 9.
So it could be a special case for the TrayIcon, not related to AWT actively supporting hidpi.
25-03-2024
This is likely a duplicate of JDK-8259913 where the font size of AWT popup menu for a tray icon is not of the correct size in High DPI environments.
25-03-2024
EVALUATION
By default the menus use the same font as other dialog controls.
Look at attached dlgfonts.jpg for example.
So we need to bring all AWT fonts in correspondance with Windows native applications.
This issue is too complex and too risky for mustang.
24-08-2005
EVALUATION
When I show the same popup, for example, in a frame its items are the
same size. So, this is not TrayIcon issue.
###@###.### 2005-06-30 13:44:09 GMT