Internationalization

1 view
Skip to first unread message

hezjing

unread,
Sep 4, 2008, 12:15:00 PM9/4/08
to gwt
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
Reply all
Reply to author
Forward
0 new messages