Moving objects in retarded gravitational potentials of an expanding spherical shell/Java program

Java program
The following Java program can be used to numerically compute the Schwarzschild distances for different linear mass densities. It implements a numerical integration for the effective masses as well as the numerical solvation for the Schwarzschild distances.