The main file should be included. Firstly you try torun the programme on the Dos Prompt.use<applet codebase = Testdata1.class></applet>Try to run from the jdk\bin directory firstlyhtml file should reside in the same directory