title: java code to popup file chooser in client machine
body: <p>I was trying to pop up a file chooser on a process that run client side (web). But the file chooser window comes on the server machine. </p>
  
  <p>Here we just use JFileChooser...</p>
  
  <pre><code>JFileChooser chooser = new JFileChooser();
  chooser.setDialogTitle("Save Log File as"); 
  chooser.setSelectedFile(new File("AttendenceBug.html"));
  </code></pre>
  
  <p>the work is based on adempiere erp that uses zk framework.</p>