Login  Register

Re: Jogl / Java3D with Java 11 ?

Posted by DonPearson on Aug 13, 2019; 9:08pm
URL: https://forum.jogamp.org/Jogl-Java3D-with-Java-11-tp4039896p4039933.html

Oops -besides the reply I just made in the past hour, I did notice one small bit of erroneous functionality: when running Java11, I have lost the middle mouse button functionality that exists with the same code running under Java8.  That functionality was used to zoom with the mouse:

//Set up ZOOMing behavior around TG3.
    MouseZoom mouseZoom = new MouseZoom(); //CENTER BUTTON (or ALT-leftButton)
    mouseZoom.setTransformGroup(tg3);
    mouseZoom.setSchedulingBounds(bs);
    tg3.addChild(mouseZoom);
    mouseZoom.setFactor(0.001);
    //System.out.println("mouseZoom");