dispose() fixes for java
dispose() fixes for java

octavianiLocator/g3m,AeroGlass/g3m,AeroGlass/g3m,AeroGlass/g3m,AeroGlass/g3m,octavianiLocator/g3m,octavianiLocator/g3m,octavianiLocator/g3m,AeroGlass/g3m,octavianiLocator/g3m,octavianiLocator/g3m,AeroGlass/g3m