Popup menu for variable panel

At present, the popup menu uses the selected variable, instead of the
variable which was clicked on. Additionally, right-clicking on a
variable in the variable panel does not select that variable. How can I
find out which item in a JList is under a MouseEvent?
Add missing Override annotations

It helps me sleep at night to know that these are in the right places.