Hi,
Sorry if this has been addressed someplace else. I have
inherited a NetX project from a developer who has left
the company. When I run NetX the application UI works
as usual, but the font sizes seem smaller. Some of our
users have indicated that they're too small to work with.
Is this behavior that has been seen by some folks? I
haven't examined the code fully yet and maybe the
answer is in there. Can somebody point me in the right
direction?
The attached file shows a side-by-side comparison of
the images.
Thanks,
Richard
Screen Shots
Logged In: YES
user_id=250242
Interesting... I've never observed this behavior. Netx does
not do anything special with fonts so I'm at a loss. This
version of netx does create an sun.awt.AppContext for each
application to allow for multiple apps in a single JVM. Try
Launcher.setCreateAppContext(false); and see if that fixes it.
Netx also prevents the application from replacing the
security manager, regardless of whether the app has 'full'
permissions whereas Web Start applications can replace the
security manager. It's possible that this affects your
software, for example by a method throwing an exception
before it can set the font or if not running with full
permissions by not being able to access some system property.
Logged In: YES
user_id=404452
Hi James,
Thanks for your message. Actually, I realized that it is no error. The
application I'm using requires a special vendor-supplied JRE that has
special fonts not available in the generic JRE.
Please close the bug, chalking it up to operator error.
Cheers,
Richard