Code example for PropertyResourceBundle

Methods: getString

0
     * @param propertyName 
     * @return 
     */ 
    public static final String getString(String propertyName) {
        try { 
            return prb.getString(propertyName);
        } catch (Exception e) {
            Log.error(e);
            return propertyName;
        } 
    } 
 
    /** 
     * Returns an ImageIcon from OTR resources folder 
     *  
     * @param fileName 
     * @return 
     */ 
    public static ImageIcon getIcon(String fileName) {
        final ClassLoader cl = OTRResources.class.getClassLoader();
Contextual code suggestions in your IDE  Get Codota for Java