June 2014
Intermediate to advanced
578 pages
12h 2m
English
A properties file that contains messages can be named PlayerMessages.properties. When we have messages in several languages, we can create a properties file for each language and name it accordingly. For example, for English it will be PlayerMessages_en.properties, and for French it will be PlayerMessages_fr.properties. A convenient place to store them is in the application source folder directly or in subfolders (or, in NetBeans, under Other Sources folder in a Maven web application project). A resource bundle is capable of loading and displaying messages from these files.
A resource bundle can be configured locally or globally. A local resource bundle loads the properties file for the specified page only. ...
Read now
Unlock full access