Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / March 2006

Tip: Looking for answers? Try searching our database.

Accessibility Testing

Thread view: 
Richard F.L.R.Snashall - 29 Mar 2006 01:28 GMT
In the past, I've been able to test, for example, international
support, by running an application with an extra option:

    java -jar -Duser.language=de jar_file_name

Is there a define to test the impact of changing the font size?
I'd like to be sure that, as the font size is increased, the
code still handles it properly.
Oliver Wong - 29 Mar 2006 16:11 GMT
> In the past, I've been able to test, for example, international
> support, by running an application with an extra option:
[quoted text clipped - 4 lines]
> I'd like to be sure that, as the font size is increased, the
> code still handles it properly.

   Ideally, the layout manager should handle this. Do you ever "hardcode"
size or layout information in your program, or do you allow full control to
the layout manager?

   - Oliver
Richard F.L.R.Snashall - 29 Mar 2006 19:55 GMT
>> In the past, I've been able to test, for example, international
>> support, by running an application with an extra option:
[quoted text clipped - 8 lines]
> "hardcode" size or layout information in your program, or do you allow
> full control to the layout manager?

Not knowingly.  That's the item that has to be tested, though.
Oliver Wong - 29 Mar 2006 22:07 GMT
>>> In the past, I've been able to test, for example, international
>>> support, by running an application with an extra option:
[quoted text clipped - 10 lines]
>
> Not knowingly.  That's the item that has to be tested, though.

   Right. Well, I don't know of a system property or command line flag that
you could set to change only the Java program. The only thing I can think of
is actually adjusting the settings in your OS as if you were visually
impaired to magnify the font sizes, and run the program to check that the
font sizes are updated properly.

   You might also be interested in the Java Look and Feel Design Guidelines
at http://java.sun.com/products/jlf/ed2/book/ which has a (short) section on
designing for accessibility.

   - Oliver
Richard F.L.R.Snashall - 29 Mar 2006 22:42 GMT
>>>    Ideally, the layout manager should handle this. Do you ever
>>> "hardcode" size or layout information in your program, or do you
[quoted text clipped - 7 lines]
> visually impaired to magnify the font sizes, and run the program to
> check that the font sizes are updated properly.

The font sizes are not changed.  But, then again, most of the (in this
case M$) environment is not changed.  People who have difficulty with
small print must really be happy...
Oliver Wong - 29 Mar 2006 22:52 GMT
>> The only thing I can think of is actually adjusting the settings in your
>> OS as if you were visually impaired to magnify the font sizes, and run
[quoted text clipped - 3 lines]
> case M$) environment is not changed.  People who have difficulty with
> small print must really be happy...

   Try setting a different Look And Feel; I heard the MS-themed L&F for
Java is a bit buggy with font sizes.

   I have one of my computers hooked up to a TV (as opposed ot a CRT), and
the resolution on TVs are horrible. So I've actually enabled visual
impairment aides, but unfortunately a lot of programs seem to ignore these
settings. At the other end of the problem though are programs which are
overcrowded with controls which DO obey the font settings. The form gets
enlarged bigger than my screen, and so I cannot access some of the controls.

   I guess I should start saving up for an HDTV.

   - Oliver
Richard F.L.R.Snashall - 29 Mar 2006 23:06 GMT
>    Try setting a different Look And Feel; I heard the MS-themed L&F for
> Java is a bit buggy with font sizes.
[quoted text clipped - 8 lines]
>
>    I guess I should start saving up for an HDTV.

Actually, another option of the original, related, was to change the
screen resolution instead of the font size (BTW, when only the font
size was changed, Java did change the font size in the title, but
nowhere else.).  When I used that option, my application handled
it properly and added the necessary scrollbar, and kept its net size
well within the screen (test successfully completed !!).

The Neville Longbottom Memorial Accessibility Wizard (M$;-), however,
failed to provide a method of reverting the resolution back after
test completion.  Had to find another method.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.