> I am trying to load some resources but it is failing with a
> MissingResourceException.
[quoted text clipped - 12 lines]
>
> But this fails with a MissingResourceException.
The ResourceBundle scheme typically wants the base class to exist too.
So you should start with Resources, then create Resources_at, etc. Then
you can load the "at" resources like this:
Locale locale = new Locale("at");
ResourceBundle resources = ResourceBundle.getBundle("Resources", locale);
> Any ideas? It seems it cannot find my resource class. It is in the same
> directory as all of my other class files.
You should use the full package name of the resource file. So, if you
are creating "com.keepa.Resources" and "com.keepa.Resources_at", you
should load using this:
ResourceBundle resources =
ResourceBundle.getBundle("com.keepa.Resources", locale);
> On a related note, when I attempt to format a date with the above
> locale ("at"), it fails ( I get the default American locale). The code
> looks like this:
Have you checked whether DateFormat supports the "at" locale? Find out
using DateFormat.getAvailableLocales().
Regards,
John O'Conner