Hi
My application has many panels like LoginPanel, ListCustomerPanel, AddOrderPanel and etc.
When come to static string internationalization, I create the constant instance in each of the panel like the following,
class LoginPanel extends Grid {
LoginPanel() {
// is it expensive to create the constant instance?
MyConstants myConstants = (MyConstants) GWT.create(MyConstants.class);
}
}
Is this a efficient way implementing the internationalization?
What do you recommend?
--
Hez