[jboss-as7-dev] Console: Settings Dialogue

Heiko Braun hbraun at redhat.com
Tue May 3 09:44:32 EDT 2011


Stan,

In the upper right corner you can find a settings dialogue now.
There isn't much besides the locale to chose from atm. 
However it allows you to verify other locales.

If in doubt about the translation (assuming you don't speak german)
then simply provide the bundle descriptor with a default value:


@DefaultStringValue("Server Group")
String serverGroup();

These will then be applied to all bundles that don't provide a value for this particular key.
The keys are by default the method names.

There is an equivalent annotation for message bundles:

@DefaultMessage("Turns left for player ''{0}'': {1}")
String turnsLeft(String username, int numTurns);

Ike






More information about the jboss-as7-dev mailing list