WebView into Intellij

Hi,

I need to add a WebView to my plugin, to offer to the user the possibility to login on our service and get the necessary token for the OAuth authentification. Is there a good way to create it ? I didn't found any webview engine into IntelliJ & I don't know which one should I use/is the best to integrate into IntelliJ.

So could you give me a recommandation ?

4 comments
Comment actions Permalink

There is no good solution for integrating a Web browser into IntelliJ IDEA at this time. You'll need to open your login dialog in the external browser.

0
Comment actions Permalink

Hi,

I found how to automatically open a web page, but I need to create a link into a dialog.

Intuitively and because Java supports HTML, I created a HTML link, but ... It would not be funny if it were that easy!

So I was wondering how I can create internal or external links (such as those used in the "update" window to view a blog post or to access some of the parameters)? Have you some doc about it ?

Thank you !

0
Comment actions Permalink

The easiest way to embed a hyperlink into a dialog is to use the HyperlinkLabel class together with BrowserHyperlinkListener. You can also attach BrowserHyperlinkListener to a regular Swing component displaying HTML content.

0
Comment actions Permalink

I use the HyperlinkLabel class in my code but it doesn't render in the UI Designer. Is there a way to display it in the UI Designer with possibility of setting text directly into it, like with a normal JLabel ?

0

Please sign in to leave a comment.