Hello,

Can anyone please tell me the answer to the following:

1. Can you specify the font size to be used by any UI component in a custom 
LookAndFeel?

2. If so, can somebody please point me in the direction of how to subclass 
the in-build windows LAF to use large fonts for all components? I am not a 
Java expert by any means let alone swing but really need to do this for the 
reason below.

If you're not interested in why then please delete now.

I am partially sighted and can't use any Java GUIs currently which is 
starting to impact my work. I have learned that the UIManager will use the 
default LAF set up in the swing.properties file if the developer does not 
specifically specify one. This does not help me in the case that the 
developer does specify a default LAF which seems to be more often than not. 
I am hoping to replace the default LAF class with my custom LAF which picks 
up my Windows settings (colours is all the windows LAF picks up which helps) 
and also uses much larger font sizes. Thus, all GUIs will use my custom LAF?

As I said I'm not an expert in Java but can't see why this shouldn't work. 
If anyone could either confirm that this will work or whether it won't at 
least I would be very grateful.

Many thanks in advance.
Cheers
Ian

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to