Re: The Scale problem
Roedy Green wrote:
Knute Johnson wrote:
I wrote about this problem many years ago as something I saw looming.
Now its has arrived. http://mindprod.com/jgloss/resolution.html
...
I think it will soon be a really big problem. ..
The mention in Roedy's page of PLAF's, got me to
wonderring what could be done for 'poor old AWT'.
Here is my 1st hackish attempt at producing a
text size in an AWT based (TextArea/Label)
applet, that adjusts according to the font size
used for the HTML.
<http://www.physci.org/test/textsize/>
So far I have only seen it work for IE on one screen
size. Does it work for you? (I want the details listed
in the table at the bottom, ideally.)
* If this technique were to be used for an AWT based
GUI with many components, it would probably be
better to iterate the available components, rather
than explicitly code them as I did in this example.
For Swing, the 'size aware' PLAF would obviously
be the best tactic to pursue.
--
Message posted via http://www.javakb.com