WS-I18N source document...

I have just uploaded the source materials for Ws-I18N to the web site:

http://www.w3.org/International/core/ws-i18n/ws-i18n.xml

http://www.w3.org/International/core/ws-i18n/ws-i18n.html


I have not yet converted these to use xmlspec-i18n, these are still on the old xmlspec DTD and stylesheet.

BTW, Mary, Winie is located here:

http://jigsaw.w3.org/Winie/


I've found that the .jar file is not set up correctly. When I run the tool the graphics that form the buttons aren't found in the classpath and thus the buttons are invisible (making them very hard to click). The java source is provided and I generally hack src/org/w3c/jwput/gui/Icons.java to put a string into the button if the ImageIcon is null:

    public static JButton getIconButton(String normalButton,
                                        String pressedButton,
                                        String disabledButton)
    {
        Icon normal    = getIcon(normalButton);
        Icon pressed   = getIcon(pressedButton);
        Icon disabled  = getIcon(disabledButton);
        JButton button;
        if (normal != null) { // AP: mod starts here
                button = new JButton(normal);
        } else {
                button = new JButton(normalButton);
        }                     // AP: end mod
        button.setPressedIcon(pressed);
        button.setDisabledIcon(disabled);
        button.setMargin(Utilities.insets0);
        button.setBorderPainted(false);
        button.setContentAreaFilled(false);
        return button;
    }

Best Regards,

Addison

Addison P. Phillips
Globalization Architect, Quest Software
http://www.quest.com


Chair, W3C Internationalization Core Working Group
http://www.w3.org/International


Internationalization is not a feature.
It is an architecture. 

Received on Thursday, 21 July 2005 17:00:30 UTC