Miscellaneous Swing Components
class provides a way to show simple message boxes, input dialogs (modal dialogs with a text field) and chooser dialogs (modal dialogs with a combo box).
The function of different methods of the class should be clear from their names.
When running on macOS, the message boxes shown by the
class use native UI.
showCheckboxMessageDialog() function provides an easy way to implement a
Do not show this again checkbox on messages.
Note that it is recommended to use non-modal notifications instead of modal message boxes whenever it’s appropriate. Please refer to the Notifications topic for more information.
class is JetBrains’ replacement for the standard
Unlike some other JetBrains-enhanced Swing components, it’s not a drop-in replacement and has a different API.
However, to achieve a consistent user experience, it’s recommended to use
instead of the standard
in your plugins.
To add your components to the splitter, call the
supports automatic remembering of the split proportion.
In order to enable it, call the
setSplitterProportionKey() method and pass the ID under which the proportion will be stored.
class is JetBrains’ implementation of the tab control, used for editor tabs and a few other components.
It has a significantly different look & feel compared to the standard Swing tabs, and looks less native on the macOS platform, so it’s up to you to choose which tab control would be more appropriate for your plugin.
See Building UI from Actions on how to create