IntelliJ Platform Plugin SDK
 
IntelliJ Platform Explorer

Embedded Browser (JCEF)

Edit pageLast modified: 15 January 2025

JCEF (Java Chromium Embedded Framework) is a Java port of CEF. It allows for embedding Chromium-based browsers in Swing applications.

Embedding of the browser component inside the IDE can be used for:

  • rendering HTML content

  • previewing generated HTML (e.g., from Markdown)

  • creating custom web-based components (e.g., diagram preview, image browser, etc.)

It is recommended to implement UI in the default IntelliJ Platform UI framework, which is Swing. Consider using the JCEF approach only in cases when a plugin needs to display HTML documents or the standard approach for creating UI is not enough.

JCEF replaces JavaFX, which was used to render web content in IDEs in the past.