This html page calls the "testGeneral.java" applet which, in turn uses the "GeneralStar" class to create a spherically symmetric polytropic star of arbitrary polytropic index (0.0 <= n <= 4.0). All of these files may be obtained from the following directory ...

http://www.phys.lsu.edu/faculty/tohline/PHYS2411/q4.dir