How to show a list in toolWindow? Permanently deleted user Created June 02, 2018 00:47 I have to add a list to my toolWindow plugin project. But i don't know how to do this.How can i do this?
Please try this pattern:
JList someList = new JList(aModel);
ContentManager contentManager = toolWindow.getContentManager();
Content content = contentManager.getFactory().createContent(new JScrollPane(someList), null, false);
contentManager.addContent(content);
So much thanks Vassiliy!