thank you all verymuch for the valuable suggestions. i'll try these
options.
Chanchal
> [...]
> Font sizes will adjust to the system DPI for theWindows L&Fs and the
> Mac L&F under Swing (on their corresponding systems, of course).
The Sun Windows L&f uses the default GUI font that scales
with the software resolution, but doesn't honor the desktop
setting for normal/large/extra large fonts.
I provide a Windows L&f that uses the icon font by default
that honors the software resolution as well as the desktop
font size setting (normal/large/extra large). More precisely
the JGoodies L&fs include a FontPolicy mechanism that is used
to specify which font shall be used for a given platform, L&fs,
and platform settings.
> [...] Fixed sized margins and borders don't normally hurt
> usability for the range of monitor resolutions in common use, and can be
> scaled where necessary. [...]
The range of monitors in teams I work with is about 78 dpi (hardware)
up to 144 hardware dpi. This leads to significantly sizes on the
higher dpi hardware. This affects borders, gaps, table column widths,
custom preferred sizes for trees and lists.
Therefore I use Dialog Units (DLU) for these sizes where possible.
-Karsten Lentzsch
Larry Barowski - 31 Aug 2007 15:53 GMT
>> [...] Fixed sized margins and borders don't normally hurt
>> usability for the range of monitor resolutions in common use, and can be
[quoted text clipped - 6 lines]
>
> Therefore I use Dialog Units (DLU) for these sizes where possible.
For table column widths and preferred sizes for trees and lists, I
always base the size on the font currently used in the table, tree,
or list (assuming these items contain mostly text).
It's a good idea to use a global base value for margins and
possibly borders that can be keyed to the DPI or font size by
default, but is also adjustable by the user, separately from the
global font scale I mentioned before. If the user wants giant
fonts and tiny margins, they should be able to have them.