I then used 'javac' to convert that into a file named 'MyProgram.class'.
MyProgram.java
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:
<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'.