title: Error java.lang.reflect.InvocationTargetException
body: <p>I have just started to learn about Java. I have figured out how to compile my program and run it. My final goal is to create some animation on Java for web.  </p>
  
  <p>Below you may find my HTML code sample.
          
      
      Java Example
      </p>
  
  <pre><code>&lt;Body&gt;
  This is my page&lt;br&gt;
  Below you see an applet&lt;br&gt;
  
  &lt;Applet Code="HelloWorldApp.class" width=200 Height=100&gt;
  &lt;/Applet&gt;
  
  &lt;/Applet&gt;
  &lt;/Body&gt;
  &lt;/Html&gt; 
  </code></pre>
  
  <p>Here is a code of my HelloWorldApp.java</p>
  
  <pre><code>class HelloWorldApp {
      public static void main(String[] args) {
          System.out.println("Hello World!"); // Display the string.
      }
  }
  </code></pre>
  
  <p>Please visit my webpage to see the result of all my job. - <a href="http://web.ics.purdue.edu/~vstadnyt/java/" rel="nofollow">http://web.ics.purdue.edu/~vstadnyt/java/</a>
  Unfortunately, It doesn't work. And I have spent many hours by search for the answer.</p>