I think, the methods you used have invalid arguments. Like in the case of add method, you should specify the components only as a parameter. Example: add(new JScrollPane(inputText)); Also in your addCheckBox method. Try to follow what's on the API.
Glenn Castro<br />Sun Certified Web Component Developer
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com