You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ResynchronizeUI.java 571B

12345678910111213141516171819
  1. package com.vaadin.tests.application;
  2. import com.vaadin.server.VaadinRequest;
  3. import com.vaadin.tests.components.AbstractTestUIWithLog;
  4. import com.vaadin.ui.Button;
  5. public class ResynchronizeUI extends AbstractTestUIWithLog {
  6. @Override
  7. protected void setup(VaadinRequest request) {
  8. Button b = new Button("Resynchronize", event -> {
  9. // Theme change is currently the only operation which always
  10. // does resynchronize
  11. setTheme("runo");
  12. log("Set theme to runo");
  13. });
  14. addComponent(b);
  15. }
  16. }