title: Groovy Swing buider fileChooser
body: <p>I am trying to use groovy swing builder's fileChooser with no luck. 
  When I copy the following example from groovy website:</p>
  
  <pre><code>def openExcelDialog  = SwingBuilder.fileChooser(dialogTitle:"Choose an excel file", 
                                 id:"openExcelDialog", fileSelectionMode :         JFileChooser.FILES_ONLY, 
                                 //the file filter must show also directories, in order to be able to look into them
                                 fileFilter: [getDescription: {-&gt; "*.xls"}, accept:{file-&gt; file ==~ /.*?\.xls/ || file.isDirectory() }] as FileFilter) {
  </code></pre>
  
  <p>}</p>
  
  <p>But I got an error message: </p>
  
  <pre><code>groovy.lang.MissingMethodException: No signature of method: static groovy.swing.SwingBuilder.fileChooser() is applicable for argument types: (java.util.LinkedHashMap, ConsoleScript19$_run_closure1) values
  </code></pre>