title: Netbeans code-gen woes: How to edit auto generated code?
body: <p>Ok. So here's a netbeans issue thanks to auto generated code from GUI designer. 
  I designed a GUI using netbeans UI designer and it was compiled for java 1.6. 
  After I finished my UI, I realized that I was supposed to do this for Java 1.4 and not 1.6. In the effort to downgrade from 1.6 to 1.4, I altered the form properties to use Swing Extensions Library and I got rid of enhanced forloop and generics in my code and I am stuck with this final error: </p>
  
  <blockquote>
    <p>Error method getString in class org.jdesktop.application.ResourceMap cannot be applied to given types;   required: java.lang.String,java.lang.Object[]   found: java.lang.String   reason: actual and formal argument lists differ in length  </p>
  </blockquote>
  
  <p>This comes from the code block that was auto-generated by Netbeans, for this method call: </p>
  
  <pre><code>resourceMap.getString("panel.tabTitle");
  </code></pre>
  
  <p>Obviously, this probably could be resolved by writing this:</p>
  
  <pre><code>resourceMap.getString("panel.tabTitle",new Object{String.class});
  </code></pre>
  
  <p>I am, however, stumped on how I would make netbeans do this change to the code it generated! 
  Let me know if you have seen this issue before and were able to resolve it. Appreciate your help.</p>