JGoView Mousewheel support?


#1

Does anyone know how to enable mousewheel support in a JGoView?
My application has a JTree within a JScrollPane and a JGoView to the right of that, and it’s awkward when you can use the mousewheel to scroll the tree but not the JGoView.


#2

Define a subclass of JGoView in the same manner as the Demo1 example’s Demo1View does, with the “1.4???”-commented code included. Basically this just implements MouseWheelListener and the mouseWheelMoved method.
We couldn’t include such support in JGoView because of our compatibility with older versions of the JRE.