void page2() { String t = "Step 2 - The Hypotheses"; textFont(myboldfont, 18); text(t, 30, 170); textFont(myfont, 18); text("Null Hypothesis: ", 30, 206); image(hyp0, 175, 192); text("Alternative Hypothesis: ", 30, 245); if (aStudy.k==0) { image(hyp1, 230, 231); text("(left-tailed)", 400, 245); } else if (aStudy.k==1) { image(hyp2, 230, 231); text("(right-tailed)", 400, 245); } else { image(hyp3, 230, 231); text("(two-tailed)", 400, 245); } t = "What is p zero? Type in the following textbox then click Answer: "; text(t, 30, 280); fill(0, 0, 255); drawStrings(feedback, 80, 380,25); leftarrow.setVisible(true); cb1.setVisible(false); tf2.setVisible(true); tf2.setXY(550,262); tf3.setVisible(false); }