Java implementation of the solar system model