@@ -0,0 +1,2815 @@
+/**%0A * Steven Ward%0A * WardMousePosition.java %7C Mouse Position Project%0A *%0A * This file defines the WardMousePosition GUI class and program, which is described below.%0A *%0A * Due Date: November 13, 2016%0A *%0A */%0A%0Aimport java.awt.Point;%0Aimport java.awt.event.MouseAdapter;%0Aimport java.awt.event.MouseEvent;%0Aimport java.awt.event.WindowAdapter;%0Aimport java.awt.event.WindowEvent;%0Aimport javax.swing.JFrame;%0Aimport javax.swing.JOptionPane;%0Aimport javax.swing.WindowConstants;%0A%0A/**%0A * Single, top-level GUI class containing this program's execution outline.%0A *%0A * Contains all methods and private classes required for the execution of the 'WardMousePosition'%0A * program. This includes the program's entry point, defined in the public 'main' method. The class%0A * itself defines a GUI window derived from the JFrame class, which displays the mouse position in%0A * its title as the mouse cursor moves within its window.%0A *%0A * @see          javax.swing.JFrame%0A * @see          java.awt.event.MouseEvent%0A * @see          java.awt.event.MouseInputListener%0A */%0A%0Apublic class WardMousePosition extends JFrame %7B%0A  private static final long serialVersionUID = 0L;%0A%0A  private static final int WINDOW_WIDTH = 1000;%0A  private static final int WINDOW_HEIGHT = 750;%0A%0A  private MouseAdapter generalListener = new MouseAdapter() %7B%0A    @Override%0A    public void mouseEntered(MouseEvent e) %7B%0A      WardMousePosition.this.updateTitle(e.getPoint());%0A    %7D%0A%0A    @Override%0A    public void mouseExited(MouseEvent e) %7B%0A      WardMousePosition.this.updateTitle(-1);%0A    %7D%0A%0A    @Override%0A    public void mouseMoved(MouseEvent e) %7B%0A      WardMousePosition.this.updateTitle(e.getPoint());%0A    %7D%0A%0A    @Override%0A    public void mouseDragged(MouseEvent e) %7B%0A      this.mouseMoved(e);%0A    %7D%0A  %7D;%0A%0A%0A  public static void main(String%5B%5D args) %7B%0A    JFrame applicationWindow = new WardMousePosition();%0A    applicationWindow.setVisible(true);%0A  %7D%0A%0A%0A  public WardMousePosition( ) %7B%0A    this.setSize(WINDOW_WIDTH, WINDOW_HEIGHT);%0A    this.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);%0A%0A    this.addWindowListener(new WindowAdapter() %7B%0A      @Override%0A      public void windowClosing(WindowEvent e) %7B%0A        int confirmExit =%0A            JOptionPane.showConfirmDialog(null, %22Are you sure you want to leave?%22, %22Exit?%22,%0A                                          JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);%0A        if (confirmExit == JOptionPane.YES_OPTION) %7B%0A          System.exit(0);%0A        %7D%0A      %7D%0A    %7D);%0A%0A    this.addMouseListener(this.generalListener);%0A    this.addMouseMotionListener(this.generalListener);%0A  %7D%0A%0A%0A  private void updateTitle(final Point point) %7B%0A    final String newTitle = %22(%22 + point.x + %22, %22 + point.y + %22)%22;%0A    this.setTitle(newTitle);%0A  %7D%0A%0A  private void updateTitle(int i) %7B%0A    this.setTitle(%22???%22);%0A  %7D%0A%0A%7D%0A

Add final version of WardMousePosition program - this was an easy one...