double distance) {
List<ITextComponent<String>> resultFields = new ArrayList<ITextComponent<String>>();
// resultFields.add(new TextField("Absolute Magnitude Calculation",
// absMagEqns.get(varType), true, false, TextField.Kind.LINE));
resultFields.add(new TextField("Absolute Magnitude",
NumericPrecisionPrefs.formatMag(absMagnitude), true, false,
TextField.Kind.LINE));
resultFields.add(new TextField("Distance (parsecs)",
NumericPrecisionPrefs.formatOther(distance), true, false,
TextField.Kind.LINE));
resultFields.add(new TextField("Distance (light years)",
NumericPrecisionPrefs.formatOther(distance * 3.26), true,
false, TextField.Kind.LINE));
resultFields.add(new TextField("Distance Modulus",
"10 ^ ((apparent mag - absolute mag + 5) / 5)", true, false,
TextField.Kind.LINE));
// resultFields[2] = new TextField("Minimum Distance", String
// .format(otherFmt + " parsecs", distanceMin), true,
// false, TextField.Kind.LINE);