Loading...
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.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Opening a popup on the click of a link

vivek kumar
1 decade ago Nov 10, 2009 2:39pm
Risto Yrjänä
1 decade ago Nov 10, 2009 2:44pm

Maybe you could try using a Button with the

Button.STYLE_LINK

style? Looks like a link, behaves like a button.

vivek kumar
1 decade ago Nov 10, 2009 2:57pm
Jouni Koivuviita
1 decade ago Nov 10, 2009 3:03pm

Button myButton = new Button("My Button");
myButton.setStyleName(Button.STYLE_LINK);

There you go :)