void page3() { String t = "Step 3 - The Statistical Hypotheses"; textFont(myboldfont, 18); text(t, 30, 160); t = "Null Hypothesis:"; textFont(myfont, 18); text(t, 30, 190+25); image(hyp0, 180, 200); t = "Alternative Hypothesis:"; text(t, 30, 250); if (aStudy.k == 0) { image(hyp1, 235, 235); t = "(right-tailed)"; } else if (aStudy.k == 1) { image(hyp2, 235, 235); t = "(left-tailed)"; } else { image(hyp3, 235, 235); t = "(two-tailed)"; } text(t, 365, 252); t = "What is mu zero? Type in the following textbox then click Answer: "; text(t, 30, 290); fill(0, 0, 255); drawStrings(feedback, 80, 380, 25); ans.setVisible(true); tf3.setVisible(true); tf3.setXY(560,273); cb4.setVisible(false); }