X3D files won't load with a URL
<p>I'm making a Xj3D Test class in Java and it's meant to display <code>X3D</code> and <code>X3DV</code> files. It does work with some test files. But when it comes to the <code>X3D</code> files that I've been given, they don't get displayed and I get an error saying:</p>

<pre><code>Exception in thread "main" org.web3d.x3d.sai.InvalidURLException: Unable to load any URLS
    at org.web3d.vrml.scripting.external.sai.SAIBrowser.createX3DFromURL(SAIBrowser.java:846)
    at xj3dtest.Xj3DTest.&lt;init&gt;(Xj3DTest.java:50)
    at xj3dtest.Xj3DTest.main(Xj3DTest.java:56)
</code></pre>

<p>I've done some research and I've seen that I might need to use the <code>createX3DFromStream</code> method instead of the <code>createX3DFromURL</code> method that I currently have in my Java code. I realise that it's the URL within the <code>X3D</code> and <code>X3DV</code> files that's causeing the problem and I need to get rid of the error as it's prohibiting me from continuing the project. The line in my <code>Java</code> code that's causing the problem is: <code>X3DScene scene = browser.createX3DFromURL(new String[]   {"hafodty_cirlce_1.x3dv"});</code>. I have the <code>X3DV</code> file <code>hafodty_circle.x3dv</code> saved within my NetbeansProject folder for the project.</p>

<p><strong>EDIT</strong></p>

<p>The way that I got the <code>Browser</code> element was by the following line.</p>

<p><code>Browser browser = x3dComponent.getBrowser();</code></p>