Creating a resource bundle for Java code