public static String getString(String key) { if (fgResourceBundle == null) { fgResourceBundle= getResourceBundle(); } if (fgResourceBundle != null) { try { return fgResourceBundle.getString(key); } catch (MissingResourceException e) { return "!" + key + "!";//$NON-NLS-2$//$NON-NLS-1$ } } else { return "!" + key + "!";//$NON-NLS-2$//$NON-NLS-1$ } } public static String getString(String key, Object[] args) {