title: how to Preview a file content in java?
body: <p>I want to display a list of paths of multiples files and when a user click on selected path,the file of that path should be opened and display the content of the file (preview a file).so how do this on java???anyone know any idea?
  help me please.</p>
  
  <p>and I want do display the list of files like the search in windows (command +F).so i want to display the files in same form of displayed files in search in windows</p>
  
  <p>which component in java do this form?</p>