Code example for ResourceBundle

Methods: getString

0
	 *			the resource wasn't found 
	 */ 
	public static final String getResourceString( String key )
	{ 
		try { 
			return resBundle.getString( key );
		} 
		catch( MissingResourceException e1 ) {
			return( "[Missing Resource: " + key + "]" );
		} 
	} 
}