public static JButton createCancelButton(boolean escapeKeyIsTrigger) {
        JButton button = new JButton(strings.getString("dialogCancelButton"));
        button.setMnemonic(strings.getString("dialogCancelMnemonic").charAt(0));
        button.putClientProperty(PROPERTY_OPTION, new Integer(CANCEL_OPTION));
        if (escapeKeyIsTrigger) {
            makeEscapeKeyActivate(button);
        }
        return button;
    }