W3C home > Mailing lists > Public > public-i18n-core@w3.org > July to September 2005

WS-I18N source document...

From: Addison Phillips <addison.phillips@quest.com>
Date: Thu, 21 Jul 2005 10:00:19 -0700
Message-ID: <634978A7DF025A40BFEF33EB191E13BC0C31679F@irvmbxw01.quest.com>
To: <mtrumble@us.ibm.com>
Cc: <public-i18n-core@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 October 2008 10:18:49 GMT