button.getStyle().set("background-color", "blue"); css .my-button { background-color: blue; color: white; } button.addClassName("my-button"); @Theme("my-theme") public class MyUI extends UI { }


上一篇:
下一篇:
切换中文