How to build this interface in Plugin Settings
已回答
Hello.
I am building a plugin where the user will need to configure a list of directories in the plugin settings.
I have read about the "Configurable" class that I need to create.
My question is more about building the UI.
I want something like this:

A list of items (paths) and a button to add more that will open the File picker dialog for the user to select a path. This kind of layout seems to be used in many places. Is there an example code that I could follow? Or what Swing components should I use?
Thank you.
请先登录再写评论。
There is a built-in UI Inspector tool available, which will help you inspect the existing UI implementation.
The UI Inspector is a tool to interrogate elements of the IntelliJ IDEA UI to get an internal description of each element. UI elements can be tested interactively by clicking on the element while the UI Inspector is enabled.
You can obtain the details about each element - including the used classes so you will be able to find any interesting example on your own.
Ah, that´s really cool!
I think I can get from there. Thanks!!