> Andrew T. wrote
>> Here is my 1st hackish attempt ...
..
>Internet Explorer, 6.0.2800.1106, Sun, 1.6.0, 1440x900, 11px to 19px
I am a little dissapointed to hear that IE shows the
same values as for a significantly smaller (1024x768)
screen. Is the HTML and applet text roughly the
same size? (It is in my tests.)
>Mozilla Firefox, 2.0.0.3, Sun, 1.6.0, 1440x900, 9px to 167px(!)
That is enormous! Does the applet force horizontal
scrollbars before it hits this huge size?
Thanks for the details - I'll update the page.

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Richard Senior - 30 Apr 2007 12:21 GMT
>> Andrew T. wrote
>>> Here is my 1st hackish attempt ...
[quoted text clipped - 5 lines]
> screen. Is the HTML and applet text roughly the
> same size? (It is in my tests.)
Roughly but not exactly. Using Arial as the default browser font, which
seems the closest match to the sans-serif of the applet, I would estimate:
Smallest: applet shows 11px (slightly smaller); browser I guess is 12px
Smaller: looks the same
Medium: applet shows 14px (slightly smaller); browser I guess is 15/16px
Larger: applet shows 17px (slightly smaller); browser 18-20px and bold
Largest: applet shows 19px (slightly smaller); browser 20-22px both bold
>> Mozilla Firefox, 2.0.0.3, Sun, 1.6.0, 1440x900, 9px to 167px(!)
>
> That is enormous! Does the applet force horizontal
> scrollbars before it hits this huge size?
Scrollbars appear in the main browser window, not in the applet. The
applet just gets proportionally bigger.
The maximum font size shown by the applet, but not the minumum, depends
on the default font in Firefox. If I set the default font to 9pt, I only
;) get up to 125px in the applet. If I set the default to 72pt, it goes
from 9px to a billboard-tastic 1002px! At that size, the string "px."
completely fills my 1440x900 screen!
Something else I did notice was that, when the applet is so large that
the paragraph to the right of it can't flow around it and has to go
below, the right-hand edge of the applet sticks out of the yellow box. I
suspect it's a browser/stylesheet issue - maybe to do with the margin of
the yellow box. If I get it to about 30px and bring the right edge of
the browser window in, the margin to the right of the yellow box pushes
the yellow box in until the applet hangs out of the box, then the
browser starts clipping the box and applet.

Signature
Regards,
Richard
a24900@googlemail.com - 30 Apr 2007 18:45 GMT
> >Mozilla Firefox, 2.0.0.3, Sun, 1.6.0, 1440x900, 9px to 167px(!)
The min size is probably limited by the configuration in the
Preferences->Content->Fonts & Colors pane.
Using 2.0.0.2 I can't go below 12px, but I can go up to 194px.
Occasionally the applet gets cropped, not resized when first
increasing the size and then going back to the minimum size. Then the
12px applet is sometimes cropped.
The problem with high-res monitors is not only with text sizes.
Widgets like scrollbars also become quickly unusable. The Substance
PLAF can already handle this and scale widgets. And Java 7 is supposed
to scale, too. If Sun doesn't screw up once again.