Java Tutorial/Trail: NASA World Wind

NASA World Wind edit

NASA World Wind Java is a Java virtual globe application with an extensive set of APIs. The application is licensed under the NASA Open Source Agreement.

Examples for beginners edit

SimplestPossibleExample edit

The SimplestPossibleExample.java is a tiny program with about thirty lines of code. It creates a WorldWindowGLCanvas window inside a frame.

HelloWorldWind edit

The program HelloWorldWind.java is only slightly more complex and instantiates a BasicModel.

ApplicationTemplate edit

ApplicationTemplate.java provides a template for applications based on NASA World Wind and is used by several other programs in the examples directory.

Shutdown edit

Shutting down NASA World Wind is non-trivial and has its own beginner's example: Shutdown.java. Apparently the WorldWindow class does have a shutdown method and the class WorldWind has a static shutDown method to reset WorldWind to its initial state in order to conserve memory (e.g. for applets that are not currently used).

External links edit