Immersed cantilever apparatus for mechanics and microscopy