import java.awt.*; public class bottomCanvas extends Canvas{ Font f1 = new Font("MEADBOLD", Font.BOLD, 20); Font f2 = new Font("MEADBOLD", Font.BOLD, 14); public String s1 = new String("What'll win (in nickels):"); public String s2 = new String("P P P 18"); public String s3 = new String("R - - 2 C C C 10 S S S 14 P P B 18"); public String s4 = new String("R R - 5 C C B 10 S S B 14 B B B 100"); public String s5 = new String("R-Rainbow C-Coins S-Shamrock P-PotO'Gold B-Bar *fish gets nothing!"); public void paint(Graphics g) { g.setColor(Color.yellow); g.setFont(f2); g.drawString(s1, 7, 30); g.setFont(f1); g.drawString(s2, 325, 30); g.drawString(s3, 5, 55); g.drawString(s4, 5, 80); g.setFont(f2); g.drawString(s5, 5, 100); } }