Thread: Lesson10
View Single Post
 
Old February 21st, 2012, 10:49 PM
Luthios Luthios is offline
Authorized User
Points: 71, Level: 1
Points: 71, Level: 1 Points: 71, Level: 1 Points: 71, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2012
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Lesson10

Hello All,

When I run my applet I get the text that I place in paint. However when I run the code below in a browser, I do not get anything but a blank white screen. I have my html file under the JRE System Library and my .java class in a default package. I am unable to run a simple applet in a browser. Thanks in Advance!

HTML Code:
<html>

<head>

<title>My First Web Page</title>

</head>

<body>
My Tic-Tac-Toe game is coming soon:
<APPLET code="HelloWorld.class" width="300" height="250" />
</body>

</html>