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.

How can I access WebBrowser class?

Anonymous Anonymous
2 decades ago Mar 07, 2007 9:41pm
Joonas Lehtinen
2 decades ago Mar 07, 2007 10:48pm
Anonymous Anonymous
2 decades ago Mar 09, 2007 3:40pm
Anonymous Anonymous
2 decades ago Mar 09, 2007 3:53pm
Joonas Lehtinen
2 decades ago Mar 13, 2007 1:56pm

Anonymous: Here is my code sample taken from your hello demo.

You are right. At the application init the terminal has not yet been set. Although you can probably design your application in a way that it only inspects Browser class in some later stage, I would consider this to be a bug (should be fixed in 4.0.1).

Jani Laakso
2 decades ago Mar 13, 2007 10:11pm
Paul Edwards
1 decade ago Jan 30, 2012 4:03am
Henri Sara
1 decade ago Jan 30, 2012 7:46am
Zoltan Kuna
9 years ago Nov 05, 2013 11:56am

FYI: the current solution for this is: Page.getCurrent().getWebBrowser()