A Java application that will draw a pegboard and then place a peg in the appropriate position.