Hi,
New to the forum, but not all new on Java programming.
However new to web applets.
Followed a guide, but can't get the code working.
Wheres the missing link?
Java file:
package terje; public class Terje { public static void main(String[] args) { System.out.println("Dette er en test" ); } }
Creating a jar file.
html file:
<html> <head> <title>My java applet</title> </head> <body> <p>My first Java Applet: <br><br></p> <applet code="Terje.jar" width="300" height="300"> </body> </html>
But nothing happens.
Running java -jar "Terje.jar" works fine.
What am i doing wrong? Whats missing?