CMIS 141 JLabel JTextField JButton ActionListener Change the RandomWalk program so that it uses the above instead of a JOptionPane to get its input. Basically, copy and paste the incantations from the RandomLines program into the RandomWalk program. Constrain the "walker" so it doesn't leave the applet area. Change the RandomLines program: Add a JLabel and JTextField that lets the user indicate whether random colors should be used for each line. To change the drawing color to a random color, use this: g.setColor(new Color((int)(Math.random()*256), (int)(Math.random()*256), (int)(Math.random()*256))); which creates a new Color object with random ints between 0 and 255 as the red, green and blue components. To the RandomLines program: Add another widget to allow the user to specify a minimum length of each line. To the RandomWalk program: Slow down the walking by inserting this incantation in the loop in paint: it pauses the program for sleepDelay milliseconds. try { Thread.sleep(sleepDelay); } catch (InterruptedException e) { } Add another widget to the RandomWalk program to input the value of sleepDelay.