In my plugin a user action results in the creation of a list of issues. I would like to display that list of issues, with listeners, in a JList in a Tool Window.
So far, I have followed the instructions offered here: https://jetbrains.org/intellij/sdk/docs/user_interface_components/tool_windows.html
I have registered my custom ToolWindowFactory in the plugin.xml file, and when called, it creates a custom ToolWindow with a JLabel, JPanel, and JList. ( As dictated by a .form file.)
The following code is used to create an instance of the ToolWindow:
ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow("IssueToolWindow");
This part works fine.
However, once the Tool Window is created, how do I access its components to add the aforementioned issues to the JList to be displayed?
Thank you ever so much for helping a rookie out!