This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I hava a PdfFormGenerator.java file that takes a pdf document loops throught all the fields and creates a class file and converts the fieldnames into something java can use in a method name,. basically sets all the set and get method.
I have specified the location of my pdf form and the location of my java code. The file compiles with no errors, however when I run the file I get the following msg and it doesn't create the class file
Are you passing any arguments when you call the program ? Your mainmethod is expecting two arguments which it passes to the PdfFormGenerator constructor.
Joined: Oct 24, 2007
How can I pass the two arguments to the PdfFormGenerator constructor, I think I need to pass the Form name and the class name but I thought I did do that in the PdfFormGenerator Constructor on line 3 and 4: