title: How do you integrate fortran code with a java gui?
body: <p>I have a fortran program that accepts input via a file (*.dat or whatever).</p>
  
  <p>I'm planning to make a GUI (probably using SWT) that would construct the input file based on user input (through forms: textboxes, drop downs, etc).</p>
  
  <p>The problem is, I've never done this before. Is there any standard way to go about this? I'm pretty sure a lot of people have done this (based on google searches), I just have not seen a standard approach for this.</p>