Create a key-value editing dialog UI

Answered

What UI components can be used to create a UI for a dialog, consistent with the general intellij UI, which is meant to let the user edit key-value data? Something like a table with 2 columns (keys and values) and "+" and "-" buttons to add and remove entries. Is there a similar piece of UI I can look into as a reference?

1 comment
Comment actions Permalink

com.intellij.ui.table.TableView with com.intellij.ui.ToolbarDecorator#createDecorator(javax.swing.JTable) (https://plugins.jetbrains.com/docs/intellij/lists-and-trees.html#toolbardecorator)

 

Also consider using UI inspector to find out about existing UI https://plugins.jetbrains.com/docs/intellij/internal-ui-inspector.html

0

Please sign in to leave a comment.