I am new to GUIs development.
I have to build a GUI mainly consisting of a JList, some JButtons and a JTextField.
I use WindowBuilder as much as possible.
My JList contains strings
My problem is to associate an event to each item of my JList so that whenever an item is selected a popup menu appears wit the list of actions the can be applied to the item (string).
I do not know if that is possible with a JList. If I right-click on the JList and choose "Add event handler" I cannot find a pre-defined event that can fire up a popup menu.
If a popup menu cannot be associated to the items of a JList then I would appreciate some help with choosing another WindowBuilder component that can display a list of strings and supports a popup menu
Thank you in advance