Note that there are some explanatory texts on larger screens.

plurals
  1. POJava Applet issue in eclipse html file
    primarykey
    data
    text
    <p>I wanted to apologize for the question I figured it out it was the <code>codebase</code> but also an issue with eclipse after changing:</p> <pre><code>codebase="F:\Apps Workspace\Java24\bin" </code></pre> <p>as well as changing the use of the internal web browser to the external web browser and making it IExplorer it worked fine thank you for your time and sorry again.</p> <hr> <p>I'm currently learning Java by reading "Sam's teach yourself Java in 24 hours" book currently I'm on the 19th hour and working on an example applet. I've followed the book so far without issues until this chapter and chapter hour 18, which is on Applets.</p> <p>My current issue is testing the Applets in the book he is using Netbeans and I am using Eclipse, the sole reason I'm currently using eclipse is to become comfortable with it the next book I will be working on is Android programming which is where they use only eclipse.</p> <p>My issues is when the book talks about testing the applet we've made it says to make a HTML file to test the applet. The html code is this:</p> <pre class="lang-html prettyprint-override"><code>&lt;applet code = "LinkRotator.class" codebase = "..\\build\\classes" &lt;===This is where I think my issue is. width = "300" height = "100"&gt; &lt;/applet&gt; </code></pre> <p>Now when I save the HTML and have it open in eclipse I just get a blank white page, and from what I have read on google searches the codebase is the location of the folder or item in this case <code>LinkRotator.class</code> would be in. I've tried changing it multiple times but still no dice. Now the folder this is located in is on <code>F:\Apps Workspace\Java24\bin\LinkRotator.class</code>. The strange thing is I have installed Netbeans to see if it would work there if I just moved the files there and it still did not run.</p> <p>So my main question is how would I make this html file point point correctly at the applet I'm working on and have it load properly in eclipse? </p> <p>Two more things, I can run the Applets by just hitting run in eclipse but I'm just trying to make it load from the web page like the book states. Also for anyone wondering about more info the website with copies of the work can be found <a href="http://workbench.cadenhead.org/book/java-7-24-hours/chapter.php/19" rel="nofollow">here</a>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload