Hi everyone,
I'm using for my project the "system" look and feel so as to match graphically with the operating system in use.
My only problem is that I would like to control the size of the font and I didn't succeed.

Here is what I tried. It does not give any error at runtime, but nothing happens if the "system" lookandfeel is set. (the code is maybe "weird" because I'm programming in groovy. So, maybe some semicolon is missing :-))

Java Code:
	private void setMyUIStandard(){
        java.util.Enumeration keys = UIManager.getLookAndFeel().getDefaults().keys()
        while (keys.hasMoreElements()) {
            Object key = keys.nextElement()
            Object value = UIManager.get(key)
            if(value instanceof javax.swing.plaf.FontUIResource){
	            java.awt.Font font= new java.awt.Font(value.getFamily(),value.getStyle(),9)
	            javax.swing.plaf.FontUIResource f= new javax.swing.plaf.FontUIResource(font)
	            UIManager.getLookAndFeel().keys.put (key, f);
any suggestion? Thanks!