View Single Post
  #1 (permalink)  
Old 07-16-2007, 10:55 PM
romina romina is offline
Member
 
Join Date: Jul 2007
Posts: 26
romina is on a distinguished road
My application Will Not Execute
I then used 'javac' to convert that into a file named 'MyProgram.class'.
MyProgram.java

Code:
public class MyProgram { public static void main(String[] args) { System.out.println( "Eureka, I can put Java on my resume."); } }
I have an html that looks like this:

Code:
<html> <head> <title></title> </head> <body> <applet width="300" height="300" src="MyProgram.class"></applet> </body> </html>
Now I am quite new to java and i'm not sure but I think my software is ok so if i can get an explanation to why this only displays a little white piece of paper with a red 'X'.
Reply With Quote
Sponsored Links