Apologies if this has come up before, I tried searching, but didn't really know what to search for!
In a nutshell, we have a (sort of) customer who has 'Large Fonts' switched on in his Windows appearance settings (or possibly 'Extra Large Fonts' - not sure), the upshot being that he's forever reporting missing components, etc, because using pack() on dialogs doesn't take his fonts into account, so the dialog is too small, and components don't get drawn.
The only solution I've found so far is to specify the dialogs' sizes, at about 15% bigger than they 'need' to be, so they look right to him. This has the obvious negative effect that the many other users who don't have large fonts switched on see nasty looking grey areas and unnecessarily large dialog boxes. Since we've worked hard on a nice-looking GUI, this is very disappointing indeed. Has anyone experienced the same problem and/or found a better solution to the problem?
Just set the font manually (Call setFont() on the components)! Making the font sizes fixed will make sure that they do not grow out of proportion. Your client will have to buy those new glasses then however!