UserActivityProvider (JComponent component) { UserActivityProvider provider = new UserActivityProvider(); component.putClientProperty(UserActivityProviderComponent.class, provider); return provider; }