ParamDemo is not public
indicates you shall write public
before class ParamDemo extends ...
.
If no access modifier (such as public) is given for class, it is only accessible within the same package - no wonder appletviewer has problems with it.
An explicit constructor shouldn't be neccessary.