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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---