Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Implementation - Polymer Component Button
How can I implement this?
myContainerElement.appendChild(button);
https://github.com/vaadin/gwt-polymer-elements
// Create a new instance of PaperButton
PaperButtonElement button = Polymer.create(PaperButtonElement.TAG);
// Set some properties
button.setIcon("polymer");
button.setLabel("Polymer");
button.setRaised(true);
// Add event listeners
button.addEventListener("click", new EventListener() {
public void onBrowserEvent(Event event) {
// ...
}
});
// Append to the document
myContainerElement.appendChild(button);
I don't know the Polymer component but as it is a gwt client side widget you might need to (depending on what it actually does) integrate it as a server side component:
Integrating an existing GWT widget
Or as a client side component extension:
Creating an UI extension
Creating a component extension