Hi,
I am new to java programming.
I have been creating a simple applet. Which is as follows:
public class HelloWorld extends JApplet
{
public void paint(Graphics g)
{
g.drawRect(0, 0,getSize().width - 1,getSize().height - 1);
g.drawString("Hello world!", 5, 15);
}
}
This code is saved in a file named HelloWorld.Java
I embedded this applet in html as follows:
<applet width=300 height=300 codebase="../../build/classes/applettest/HelloWorld.class"> </applet>
But it doesn't display. Just the java image gets displays ("some sort of progress status type") you know
How can i display this applet.
Please help