Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2163

Re: Swing application get

From "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this>
Subject Re: Swing application get
Message-ID <JuGdnVOKj8WB6DbbnZ2dnUVZ_tijnZ2d@comcast.com> (permalink)
Newsgroups comp.lang.java.gui
References <P_pqi.17347$5y.5721@newsfe18.lga>
Date 2011-04-27 15:37 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
> The sad fact is that by the time the monitor resolution gets to 1600x1200
> or larger the frames and controls will be unusably small.

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). It's
easy enough to make your application's fonts adjust to the system DPI for
other Swing L&Fs in a global way (and also provide user-adjustable global
font scaling to help out users on systems where the DPI is unadjustable
and inappropriate). 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. Some icons can be self-drawn and auto-scaling,
while others can be chosen from multiple-sized sets, though this is not
frequently done.

I operate at 1600x1200 on a 20 inch screen and dpi set to 144, and most
Java apps that I use are fine, or at least scale appropriately under Windows
L&F. I expect that 3200x2400 and 288 dpi on the same screen would
result in some issues with tiny icons, tight margins, and nearly invisible
borders for most Java applications. If monitors with that kind of resolution
become common, many Java applications will need some reworking to
make them usable.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Swing application getting "Chanchal" <chanchal@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
  Re: Swing application get "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
  Re: Swing application get "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
    Re: Swing application get "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
    Re: Swing application get "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
      Re: Swing application get "Chanchal" <chanchal@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
      Re: Swing application get "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
        Re: Swing application get "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000

csiph-web