title: How to fix error message about being unable to find or load main class sun.applet.AppletViewer?
body: <p><a href="https://i.stack.imgur.com/umFoq.jpg" rel="nofollow noreferrer">Image of what my screen looks like</a></p>
  <p>This is what my program looks like at the very top:</p>
  <pre><code>// imports all needed libraries
  import acm.program.*;
  import acm.graphics.*;
  import java.awt.*;
  
  public class ScreenSaverProject extends GraphicsProgram {
  
      // sets up canvas and canvas size
      public void init() {
          resize(1200, 700);
      }
      
      // holds all the code that the program will run
      public void run() {
  </code></pre>