import java.util.ArrayList;
import java.util.List;

/**
 * Main App for Gravity calculations.
 *
 */
public class GravityApp {

	List<CelestialBody> celestialBodies = new ArrayList<CelestialBody>();
	
	public GravityApp() {
		for(PlanetData pd : PlanetData.values() ) {
			CelestialBody cb = new CelestialBody(pd);
			celestialBodies.add(cb);
		}
	}
	

	public void moveCelestialBodiesOneDay() {
		for( CelestialBody cb : celestialBodies) {
			// do maths to move it by one day...
			
		}
	}
	/**
	 * Method performs the calculation for the projectile in the earths gravitaional
	 * field
	 */
	private void performCalculate() {
		GravityScanner gs = new GravityScanner();
		ScannerDto scannerDto = gs.getFromScanner(false);
		Projectile projectile = new Projectile(scannerDto);
		projectile.calculate();
	}
    /**
     * 
     */
	private void performMethod() {
		EulerCramer eulerCramer = new EulerCramer();
		eulerCramer.applyMethod();
	}

	/**
	 * The main Method for the class and the app
	 * 
	 * @param args -- the command line arguments
	 */

	public static void main(String[] args) {
		GravityApp ga = new GravityApp();
		ga.performMethod();
	}
}

@@ -127,16 +127,74 @@
 tyApp %7B%0D
+%0A%09private static final Double day = 60.0*60.0*24.0*365.0;%0D
 %0A%0D%0A%09List
@@ -463,24 +463,94 @@
 OneDay() %7B%0D%0A
+%09%09CalculateGravitaionalField cfg = new CalculateGravitaionalField();%0D%0A
 %09%09for( Celes
@@ -624,19 +624,381 @@
 day...%0D%0A
-
 %09%09%09
+ThreeDimensionVector tdv = cb.setPositionVector();%0D%0A%09%09%09ThreeDimensionVector tdv1 = cb.setVelocityVector();%0D%0A%09%09%09ThreeDimensionVector gravity = cfg.calculateGraviation(tdv);%0D%0A%09%09%09tdv1 = tdv1.increaseBy(gravity.scale(day));%0D%0A%09%09%09tdv = tdv.increaseBy(tdv1.scale(day));%0D%0A%09%09%09System.out.println(%22(%22 + tdv.getxAxis() + %22, %22 + tdv.getyAxis() + %22, %22 + tdv.getzAxis() + %22)%22);
 %0D%0A%09%09%7D%0D%0A%09

Update to move planets by one day, will be improving for many days