My way to compile and run applet manually is as following and it worked:
1-compile the .java file with classpath option to javaws.jar
2-archive the classes files and javaws.jar in one jar file.
3-create a JNLP file with the prescribed content.
4-launch my application through javaws in cmd using the jnlp file. and worked good
but when I worked with NetBeans and despite of adding the javaws.jar as a library. every time I run the file I got caused by method.
So, any help in this NetBeans topic because it is so time consuming to do everything through the cmd;