void page1() { String t = "Step 1 - The Scientific Hypothesis"; textFont(myboldfont, 18); text(t, 30, 194); t = "Scientific Hypothesis: The average "+ aStudy.obj + " in the US is " + aStudy.relation + " " + nf(aStudy.muo, 1, 2) + " " + aStudy.unit+"."; drawStrings(t, 80, 244, 25); if (aStudy.known == 1) { t = "Case 1 - Known Variances"; } else if (aStudy.samplesize > 30) { t = "Case 2 - Unknown Variances, n large"; } else { t = "Case 3 - Unknown Variances, n small"; } text(t, 80, 314); leftarrow.setVisible(false); bg.setVisible(false); bl.setVisible(false); bd.setVisible(false); }