using tpt

Hi there,
I have been trying to use i18n support provided in the tpt addon. But unable too view the user interface.

Before using tpt i18n I developed a small app using the vaadin standard Application and Window class. But then I changed the classes so that they can extend from TPTApplication and TPTWindow.

When I try to use the “setTheme” method I am unable to see any component. BUt when I comment this I can see the expected ui but with the i18n messages keys and not the values.

If I uncomment settheme method then I can see the i18n working as I am getting the value from the file and then settinh the windows title but without any ui control in the window.

Any ideas? What I might be doing incorrectly?