2023-03-31 14:22:25 +02:00

1.9 KiB

User Interface Components

Introduction to UI Components provided by IntelliJ Platform.

Platform UI Guidelines: Overview

The IntelliJ Platform includes a large number of custom Swing components. Using those components in your plugins will ensure that your plugin looks and works consistently with the UI of the rest of the IDE, and can often reduce the code size compared to using the default Swing components.

Use UI Inspector to locate the underlying Swing component implementation or to inspect an existing UI at runtime.

It is recommended to build UI forms like dialogs or settings pages by using the Kotlin UI DSL (IntelliJ Platform 2021.3+).

Using UI Designer plugin with Kotlin is not supported.

{style="note"}

Please refer to Writing short and clear in IntelliJ Platform UI Guidelines on writing UI-related texts.

See UI Kit when using Figma to design UI.

The following components are particularly noteworthy:

  • Menus and toolbars are built using
  • Tables (TableView) (TBD)
  • Drag & Drop Helpers (TBD)
    • Messages
    • JBSplitter
    • JBTabs