What should one use when WindowManager depricated?
at the moment using for this:
btn.addClickListener(clickEvent -> {
try {
URI uri = new URI(url);
App app = App.getInstance();
WindowManager wm = app.getWindowManager();
wm.showWebPage(uri.toString(), null);
} catch(/*IOException | */URISyntaxException e) {
LOG.warn(e.getMessage());
}
}