converting applications to applets
Hi,
For a standalone application, I wrote a Java class which extends JFrame. When I execute it, it works well, the content I want to display appears as a pop-up window. Now, I want to display the same content in the web browser as an applet. Searching on the internet, I thought I found the way to implement it. I built a new class RunApplet in a file RunApplet.java as below:
import java.awt.*;
import java.applet.*;
public class RunApplet extends Applet {
public void init() {
GameGUI myA = new GameGUI();
myA.setVisible(true);
}
}
GameGUI is my class which extends JFrame. Then I wrote an htm file as below:
<html>
<head><title>Network Project</title></head>
<body>
<applet code="RunApplet.class" width=750 height=700></applet>
</body>
</html>
When I write the URL in address bar, there is displayed nothing on web browser. It says Applet is started, however no content is displayed. What is wrong with my code? Any ideas?..
My knowledge of Java is really limited..I really need help..Thanks..

