Get key value from properties file in GWT

How can I get a value from a key-based property file in GWT. I have two properties files: one for English and the other for French.I want to add a tooltip for the icon, getting the value from the properties file using the mouseover event.

How can i achieve this?

Please, help.

+3
source share
1 answer

You need to first create an interface with the same name as the properties file, extending the built-in constant interface provided by GWT. Method names must match tag name names in .properties files.

This link may help you. Then get the string in the mouseOver event handler. Hope this helps.

+5
source

All Articles