title: how to prompt "open file window" from command prompt in java?
body: <p>I am trying to prompt "open file window" from command prompt in java and planning to take that selected file as input file instead of</p>
  
  <pre><code>FileInputStream fis=new FileInputStream(args[0]);
  </code></pre>
  
  <p>but not succeeded yet, please some tell me how to do it in command prompt in java.</p>