setStyle(style); bind(application); if (getResource() instanceof PackageResource) setLocale(((PackageResource)getResource()).getLocale());
setStyle(style); bind(application); if (getResource() instanceof PackageResource) setLocale(((PackageResource)getResource()).getLocale());