title: Cant import Font in Eclipse but can import in Dr. Java
body: <p>So i have this code</p>
  
  <pre><code>File fontFile = new File("FrizQuadrataTT.ttf");;
  FileInputStream in = new FileInputStream(f);
  Font dFont = Font.createFont(Font.TRUETYPE_FONT, in);
  Font f1 = dFont.deriveFont(15f);
  </code></pre>
  
  <p>Which import a font file called FrizQuadrataTT.ttf. I used to use Dr. Java to code and i recently started to use Eclipse but now in eclipse this code doesn't work. It does however work in Dr. Java.</p>
  
  <pre><code>Exception in thread "main" java.io.FileNotFoundException: FrizQuadrataTT.ttf (The system cannot find the path specified)
  at java.io.FileInputStream.open(Native Method)
  at java.io.FileInputStream.&lt;init&gt;(Unknown Source)
  </code></pre>
  
  <p>This is the error message that is given when run.</p>