Problems with running Applet through HTML

I am currently having problems with running my file through the HTML. For some reason when I open it in the browser it keeps saying Error. I am programming in NetBeans.
The code I am using is:
<html>
<head>
<title></title>
</head>
<body>
<applet code=”CarApplet.class” codebase="RedCarApplet.jar" width=690 height=300></applet>
</body>
</html>

Heres the error message, I see that it cannot find the class I have stated above. Any solutions?
My class is in the 'build' folder but, the HTML file is in the 'src' folder. Now my applet contains a 'jar' file, do I need to add that to the HTML code?
load: class ‚Ä?TunerApplet.class‚Ä? not found.
java.lang.ClassNotFoundException: ‚Ä?TunerApplet.class‚Ä?
     at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
     at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
     at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: C:\Users\*****\*******\NetBeansProjects\RadioApplet\src\‚Ä?TunerApplet\class‚Ä?.class (The system cannot find the path specified)
     at java.io.FileInputStream.open(Native Method)
     at java.io.FileInputStream.<init>(Unknown Source)
     at java.io.FileInputStream.<init>(Unknown Source)
     at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
     at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
     at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
     at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
     at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     ... 9 more
Exception: java.lang.ClassNotFoundException: ”TunerApplet.class”

Similar Messages

  • Problem with running applets

    When I try to run an applet on HTML page i only get a gray screen which shows nothing.
    When i try to use appletviewer it always says:
    I/O exception while reading: D:\ClickMe (The system can
    not find the file specified)
    (ClickMe is an applet)
    When I run an applet on some website it works, but when I upload one and open it through an HTML page it stiil shows a gray screen with nothing on it(maybe I have a problem with my compiler).
    I use "SUN ONE STUDIO 4 update 1" (j2sdk1.4.1 came along with it)
    I'm under WINXP HOME EDITION and I've downloaded the letest "service pack 1" from windows update center.
    Thanks in advance to all the helpers!

    I had the same problem once. Try if it works with Netscape. If it does, then you are having the same problem as I had.
    The solution:
    compile the applet with "javac -target 1.1 *.java"
    I dont know why it work, but it does.

  • Problems with running applet from Java Tutorial

    Hello
    I'd like to compile applet from Lesson Applets, trail: Deployment, title of lesson: A Simple Network Client Applet. But at the beginning of the source code is written that it will work only with: JavaSE 5 version.
    * SwingWorker can be downloaded at:
    * https://swingworker.dev.java.net/
    * SwingWorker must be downloaded for JavaSE 5, but will be included
    * in JavaSE 6.
    Well, does anyone know about applet doing the same thing which would work in older versions of JDK?. Do I necessarily have to install JavaSE6?. I have J2EE 1.4SDK and I run into errors compiling this example.
    Cheers
    Message was edited by:
    macmacmac

    I've got another applet which was written for version 1.1 of Java. It compiles but when I run it, instead of letters of quote I get rectangles, positioned one next to the other. So I can't read the quote. What's wrong with this applet?. Here's the code of it:
    * 1.1 version.
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class QuoteClientApplet3 extends Applet
    implements ActionListener {
    boolean DEBUG = false;
    InetAddress address;
    TextField portField;
    Label display;
    DatagramSocket socket;
    public void init() {
    //Initialize networking stuff.
    String host = getCodeBase().getHost();
    try {
    address = InetAddress.getByName(host);
    } catch (UnknownHostException e) {
    System.out.println("Couldn't get Internet address: Unknown host");
    // What should we do?
    try {
    socket = new DatagramSocket();
    } catch (IOException e) {
    System.out.println("Couldn't create new DatagramSocket");
    return;
    //Set up the UI.
    GridBagLayout gridBag = new GridBagLayout();
    GridBagConstraints c = new GridBagConstraints();
    setLayout(gridBag);
    Label l1 = new Label("Quote of the Moment:", Label.CENTER);
    c.anchor = GridBagConstraints.SOUTH;
    c.gridwidth = GridBagConstraints.REMAINDER;
    gridBag.setConstraints(l1, c);
    add(l1);
    display = new Label("(no quote received yet)", Label.CENTER);
    c.anchor = GridBagConstraints.NORTH;
    c.weightx = 1.0;
    c.fill = GridBagConstraints.HORIZONTAL;
    gridBag.setConstraints(display, c);
    add(display);
    Label l2 = new Label("Enter the port (on host " + host
    + ") to send the request to:",
    Label.RIGHT);
    c.anchor = GridBagConstraints.SOUTH;
    c.gridwidth = 1;
    c.weightx = 0.0;
    c.weighty = 1.0;
    c.fill = GridBagConstraints.NONE;
    gridBag.setConstraints(l2, c);
    add(l2);
    portField = new TextField(6);
    gridBag.setConstraints(portField, c);
    add(portField);
    Button button = new Button("Send");
    gridBag.setConstraints(button, c);
    add(button);
    portField.addActionListener(this);
    button.addActionListener(this);
    public Insets getInsets() {
    return new Insets(4,4,5,5);
    public void paint(Graphics g) {
    Dimension d = getSize();
    Color bg = getBackground();
    g.setColor(bg);
    g.draw3DRect(0, 0, d.width - 1, d.height - 1, true);
    g.draw3DRect(3, 3, d.width - 7, d.height - 7, false);
    void doIt(int port) {
    DatagramPacket packet;
    byte[] sendBuf = new byte[256];
    packet = new DatagramPacket(sendBuf, 256, address, port);
    try { // send request
    if (DEBUG) {
    System.out.println("Applet about to send packet to address "
    + address + " at port " + port);
    socket.send(packet);
    if (DEBUG) {
    System.out.println("Applet sent packet.");
    } catch (IOException e) {
    System.out.println("Applet socket.send failed:");
    e.printStackTrace();
    return;
    packet = new DatagramPacket(sendBuf, 256);
    try { // get response
    if (DEBUG) {
    System.out.println("Applet about to call socket.receive().");
    socket.receive(packet);
    if (DEBUG) {
    System.out.println("Applet returned from socket.receive().");
    } catch (IOException e) {
    System.out.println("Applet socket.receive failed:");
    e.printStackTrace();
    return;
    String received = new String(packet.getData());
    if (DEBUG) {
    System.out.println("Quote of the Moment: " + received);
    display.setText(received);
    public void actionPerformed(ActionEvent event) {
    int port;
    try {
    port = Integer.parseInt(portField.getText());
    doIt(port);
    } catch (NumberFormatException e) {
    //No integer entered. Should warn the user.
    }

  • Problem with running Applets in JDEV 10G Preview

    Our Jdeveloper project has a default run target which is an Applet HTML page.
    Sometimes when a you click Run/Debug the project runs in Applet Viewer and sometimes it spawns an OC4J process and runs it in the container. It seems the execution of our project has a mind of its own. You can run/debug the same project on different developer PCs and have different execution behavior.
    How do you configure the execution environment for applets?
    If possible, it would be nice to be able to create multiple execution profiles so that we could have this applet run in OC4J sometimes and in AppletViewer other times. But it does not seem like you have control of this under the project properties.
    Thanks,
    Paul Manning

    Hi Paul,
    In the 10g preview, the code that launches applet viewer has first crack at whether it should "run" your html file. If that code thinks it should not launch applet viewer, then the code that launches OC4J gets a chance. The applet viewer launcher looks at the contents of the html file and looks for the <applet> tag. Is it possible that the contents of your html file is changing in such a way that my applet viewer launcher code isn't able to find the <applet> tag? If so, can you possibly send me your html file, or describe the applet tag(s), so that I can improve my side? I'd really appreciate it.
    In the near term future (the 10g release), when the run target can be started in different ways (like your applet html), the user will get to choose which way when he/she clicks run/debug. If you use the context menu, the run and debug items will lead to a pull-right submenu that lists all the choices. However, if my applet viewer launcher code doesn't find the applet tag in your html file, you won't see applet viewer in the list of choices.
    In the long term future we will support real multiple execution profiles.
    -Liz Looney

  • I have a problem with running an EXE file on win2000, the Lab View is 5.1 and I do not know if it is 16 bit...

    I have a problem with running an EXE file on win2000, the Lab View is 5.1 and I do not know if it is 16 bit...what should I do?

    Hi Arika,
    The drivers that you need to install to make your executable work depends on what your executable is doing. To get started, you need to have the LabVIEW Run-Time Engine installed on your target machine (the Win2000 machine you are planning to use) in order to run your executable. Next, you need to determine what drivers your executable uses, if any. For example, if you are using GPIB instrument control, you will need to install the NI-488 drivers on your target machine. If you are performing data acquisition, you will need to install NI-DAQ drivers. If you are doing image acquistion, you will need to install NI-IMAQ drivers.
    All these drivers are available for downloading on ni.com. To get the drivers, go to ht
    tp://www.ni.com/support , click on the link that takes you to Drivers and Updates (under Option 3), and click on the links to get to the driver(s) you need. For example, if you need the LabVIEW 5.1.1 Run-Time engine, click on the All Drivers and Updates by Application link on the main page (http://www.ni.com/softlib.nsf/). Then click on the LabVIEW link, Windows 2000, Run Time Engine, and then you will see the link to get to the page to download the LabVIEW 5.1.1 Run-Time Engine.
    I hope this information helps.
    Best Regards,
    Wilbur Shen
    National Instruments

  • Problem with running the midlet class (Error with Installation suite )

    hi everyone...
    i have problem with running the midlet class(BluetoothChatMIDlet.java)
    it keep showing me the same kind of error in the output pane of netbeans...
    which is:
    Installing suite from: http://127.0.0.1:49296/Chat.jad
    [WARN] [rms     ] javacall_file_open: wopen failed for: C:\Users\user\javame-sdk\3.0\work\0\appdb\delete_notify.dat
    i also did some research on this but due to lack of forum that discussing about this,im end up no where..
    from my research i also find out that some of the developer make a changes in class properties..
    where they check the SIGN DISTRIBUTION...and also change the ALIAS to UNTRUSTED..after that,click the EXPORT KEY INTO JAVA ME SDK,PLATFORM,EMULATOR...
    i did that but also didnt work out..
    could any1 teach me how to fix it...
    thanx in advance... :)

    actually, i do my FYP on bluetooth chatting...
    and there will be more than two emulators running at the same time..
    one of my frens said that if u want to run more than one emulator u just simply click on run button..
    and it will appear on the screen..

  • I ve a problem with running the javabeans

    dear all
    i ve a problem with running javabean in forms 9i all codes, program units are correct. i think there is something with classpath which i dont where to put the path of bean jar files. however the simple code for the Colorpicker and keyFilter dont work when clicking the button to fire the trigger to bring the bean up.
    thank you
    Walaa eddien

    Walaa,
    Make sure you've entered the implementation class (do not append the class extension). For example, if you have a class example.class in the package otn.oracle.forum, the implementation class should be: otn.oracle.forum.example
    Make sure you place the containing java archive in <OH>/forms90/java and do not forget to update the configuration section (default or app specific) parameter archive_jini accordingly.
    Jeroen van Schaijk

  • Problem with runas command. Elevation error

    Running on Win 8.1 Pro I'm facing a problem with runas.
    What I'm trying to do is launch an mmc as my domain admin account.
    Therefore I type this command from an elevated cmd (Right-click "Run as Administrator"):
    runas /user:Contoso\MyDomainAdmin /noprofile mmc
    This worked like a charm in Windows 7, and on my Win81Pro client it yields:
    RUNAS ERROR: Unable to run - mmc
    740: The requested operation requires elevation.
    The account I'm logged in with, is local admin, and the UAC slider is set in the bottom.
    In the eventviewer, I only see some special logons where my normal account is trying to impersonate my domain admin account, and the next event, the domain admin's session is destroyed.
    If this is by design, how would I then run mmc as my domain admin and at the same time avoid its credentials being stored on the local machine?
    Thanks in advance!

    yes, you need to be local admin to be able to elevate!
    I've tested this on a system here and I reproduce the issue you encountered. Some investigation showed running a program that requires elevation using runas is not  possible http://msdn.microsoft.com/en-us/library/bb756922.aspx
    MCP/MCSA/MCTS/MCITP

  • [SOLVED] Problem with running GUI apps as root

    Hi,
    I have a serious problem with running any kind of software having GUI as root, which is indispensable for editing system files. For example I want to edit /etc/pacman.conf file with KWrite, and here's what I get
    [zbyszek@barca ~]$ xhost +
    access control disabled, clients can connect from any host
    [root@barca zbyszek]# kwrite /etc/pacman.conf
    kwrite(11282): Session bus not found
    KCrash: Application 'kwrite' crashing...
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
    sock_file=/root/.kde4/socket-barca/kdeinit4__0
    Warning: connect() failed: : Nie ma takiego pliku ani katalogu
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
    drkonqi(11284): Session bus not found
    Can anyone help me with this? Can anyone tell me how to login as root?
    Thank you in advance.
    Last edited by Zibi1981 (2010-10-05 19:30:20)

    O.K., but how to run KWrite as root on my account??? That was my main question
    karol wrote:
    Try running 'xhost +' as root.
    https://bbs.archlinux.org/viewtopic.php?pid=817674
    Maybe vim is in edit mode when you press 'i' but it doesn't show '-- INSERT --' at the bottom of the screen.
    Here you are
    [root@barca zbyszek]# xhost +
    access control disabled, clients can connect from any host
    [root@barca zbyszek]# kwrite /etc/pacman.conf
    kwrite(12941): Session bus not found
    KCrash: Application 'kwrite' crashing...
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
    sock_file=/root/.kde4/socket-barca/kdeinit4__0
    Warning: connect() failed: : Nie ma takiego pliku ani katalogu
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
    drkonqi(12942): Session bus not found
    Last edited by Zibi1981 (2010-09-25 10:19:50)

  • Problems with installing Xcode through App Store

    Hey guys,
    So trying to install Xcode on my Late 12 Macbook Pro with the ML update for a project with work.
    Everytime I try to install through the app store, I get the Grey Screen of Death. Anyone else having this problem or what could it be? I've had no other problems with installing programs through the App Store.
    I am currently downloading through the developer portal, so hopefully that works.
    Hope someone can guide some light on this.
    Thanks guys!

    Hello,
    For you problem with the Mac App Store you can contact the support here :
    http://www.apple.com/support/mac/app-store/
    (choose Account and Billing; you can change the country at the bottom of the page if you prefer dutch and go back to the support page).
    For your problem with Mail and iCloud you can read this page :
    http://support.apple.com/kb/TS4002?viewlocale=nl_NL (Troubleshooting iCloud Mail).
    Hope this will help.

  • Problem with running multiple servlet in same webapplication with tomcat 3

    Hi all,
    I am using Tomcat 3.0 as webserver with jdk1.3, Servlet 2.0,
    Templates for html file and oracle 8i on UNIX platform.
    I have problem with multiple servlet running same webapplication.
    There are two servlet used in my application. 1) GenServlet.class
                   and 2) ServletForPrinting.class
    All of my pages go through GenServlet.class which reads some property files
    and add header and footer in all pages.
    I want reports without header & footer that is not possible through GenServlet in my application.
    So I have used another servlet called ServletForPrinting --- just for reading html file.
    It is as follow:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ServletForPrinting extends HttpServlet {
    public void service (HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException
    // set content-type header before accessing the Writer
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    File f1 = null;
    String report = null;
    String path = request.getPathInfo();
    try{
    String p = "/var/home/latif/proj/webapps/WEB-INF/classes" + path;
    System.out.println(p);
    f1 = new File(p);
    p = null;
    if (f1.exists()) {
    FileReader fr = new FileReader(f1);
    BufferedReader br = new BufferedReader(fr);
    report = new String();
    while ((report = br.readLine()) != null) {
    out.println(report);
    }catch(Exception e) {
    out.close();
    report = null;
    path = null;
    f1 = null;
    } // end class
    It works fine and display report properly.
    But now Problem is that if report is refreshed many times subsequently,
    WebServer will not take any new change in any of java file used in web-application.
    It works with the previous class only and not with updated one.
    Then I need to touch it. As soon as I touch it, webserver will take updated class file.
    Anybody has any idea regarding these situation?
    Is there any bug in my ServletForPrinting.java ?
    Any solution ????? Please suggest me.
    Suggestion from all are invited. That will help me a lot.
    Thanks in advance
    Deepalee.

    Llisas wrote:
    I solved the problem, I just had to wire the blocks in a sequential way (I still don't know why, but it works).
    Feel free to delete this topic.
    I would strongly suggest at least reading this tutorial to give you an idea of why your fix worked (or maybe only appeared to work).  Myself, I never just throw up my hands and say, "Whatever," and wash my hands of the situation without trying my best to understand just what fixed it.  Guranteed you'll run into the same/similar problem and this time your fix won't work.
    Please do yourself a favor and try to understand why it is working now, and save yourself (or more likely, the next poor dev to work on this project) some heartache.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Changes in security from 7 update 45 to 7 update 51 and problems with Java applet

    Hello,
    After the update (from 7 update 45) to version 7 update 51 we've gotten some problems with a Java Applet as it won't run.
    When changing security settings to "medium" it works, but it would not run under the default "high" setting. This lead me to update the manifest file as follows:
    Manifest-Version: 1.0
    Trusted-Only: true
    Application-Name: MyApplet
    Permissions: all-permissions
    Caller-Allowable-Codebase: www.MySite.com
    In addition to this, I added the <param> tag in the HTML page.
    <applet name="MyApplet" code="MyApplet" archive="MyApplet.jar">
       <param name="permissions" value="all-permissions" />
    </applet>
    The applet is digitally signed with a certificated issued by Verisign.
    It now runs on my system. But I noticed that it also runs if I switch the security setting back to "high", which doesn't make any sense to me.
    I've tried another computer and to the same thing there. Would not run. I switched to "medium" and and the applet worked. Switched back to "high" and it still works.
    I've tried this in both Google Chorme and Internet Explorer 11.
    On a third computer it won't run at all, getting a different error message than on the other two, but still related to permissions/security.
    The console log message is:
            "liveconnect: Security Exception: JavaScript from http://MySite.comn/MyPage.html attempted to access a resource it has no rights to."
    Any ideas what I'm missing or what I need to change to get this beast to run everywhere.

    I tried changing the Caller-Allowable-Codebase to not include "www." and it started giving the the same error message as for the third machine in the test.
    So, I changed Caller-Allowable-Codebase to "*" which made it work on all machines.
    I don't quite understand why it acts differently on different machines, if it's ok with www.MySite.com on one of the the machines, it should be OK on all no?
    I don't see a problem with letting it be "*" but it would be nice to understand what's going on.

  • Run Applet through gateway

    Hi all;
    We have a Web application behind gateway and portal6.0. Web application has applet embedded HTML pages.
    After user logged into portal, the applet is downloaded with correct params and codebase. One of the params is httpServerName, which becomes https://gatewayURL/http://serverName per rewriter as configured.
    But the applet has problem talking to the server through gateway and we don't know why. It works fine without gateway.
    Could the double URL's in the httpServerName be a problem when applet uses it? The applet class is from vendor and we can not modify it. Any input is greatly appreciated. Thanks.
    Joe

    If the applet hasn't been designed to work with SSL, I don't think you can do this.
    A workaround may be to use the Netlet for your applet. Ie. specify a Netlet rule for your applet and set its httpServerName to localhost.
    --Stephen                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem with Draggable Applet in JavaFX Samples

    I am looking at JavaFX Samples which run as Draggable Applets - for example, DisplayShelf and EffectsPlayground. I ran into a problem while running these samples from Netbeans 6.5 IDE. It seems that there is a problem with the logic in this line of code in Main.fx:
    var inBrowser = "true".equals(FX.getArgument("isApplet") as String);I found that this expression is evaluating to false because the "isApplet" argument is null, such that the drag and drop installation is not available. When toggling the Properties > Application > Draggable Applet checkbox, I found that the html page generated to launch the applet (e.g. DisplayShelf/dist/DisplayShelf.html) would simply add/remove draggable argument:
    <script>
        javafx(
                  archive: "DisplayShelf.jar",
                  *draggable: true,*
                  width: 600,
                  height: 300,
                  code: "displayshelf.Main",
                  name: "DisplayShelf"
    </script>Given this, shouldn't the Samples actually have logic as follows:
    var inBrowser = "true".equals(FX.getArgument("draggable") as String);

    Thanks, this works and is probably the better solution, as the draggable argument can be set even when not running from browser. Thanks!
    But my concern is that the code in the draggable app Samples which come with Netbeans IDE do not work correctly, because FX.getArgument("isApplet") returns null. Would this be something to file a bug for? Seems like other newbies like me would get confused when the samples don't work....

  • Problems with pacman applet, and advice on a gaming portfolio

    Hi
    I recently made a pacman applet, im having a few problems with it though, the first time the applet is run on a browser, the ghosts(represented by squares) often dont appear or if they do, they are stuck in walls, this never happens when i run offline on my computer. Is this because the very first time the applet is run, it doesnt load properly, but the second time some of the files are in the cache so it loads fully?
    Also everytime i refresh the browser the applet dissapears and is replaced with a blank space and a cross in the top left hand corner, does anyone know the reason for this?
    The applet can be found below, if you do decide to play it, please bear in mind what i have said, so it might not load correctly the first time, if this is the case please refresh, or close the broswer and reopen the link! Also you will need to click the applet for it to gain focus before you can move pacman - use the arrow keys the control pacman.
    http://www.renaissance-designs.co.uk/Satwant/java/pacman/
    Id also be very gratful for some advice - id like a change in career, ive always wanted to get into gaming, ive had some previous knowledge in java i made a programme that could generate its own poetry in java for my dissatation, but i still never had a huge amount of confidence, and so went into websites.
    BUT now i have decided to take the leap back into programming and give it a go, which is why ive made this game.
    I thought id make a portfolio and try and apply for a few gaming jobs. This applet took me two weeks to make and it was in my spare time, i am fully aware its not perfect, and it doesnt look great, but i would like to know what people think of it, also how many more games do you think i should make, before i apply for gaming jobs? Does anyone have any advice on what would make a good portfolio for a java gaming job?
    Thanks alot, i look forward to what you think of the game, and your advice!
    SSKenth

    sskenth wrote:
    Thanks for getting back to me with that information, i didnt know you could see that information with just a simple right click!
    But im afraid that doesnt really help me solve the problem, im not sure what all of that information means! :SI have very little experience with applets, but I can tell you what I would do to debug this (forgive me if you already know this stuff).
    Look at the stack trace you get in the Java Console that I posted earlier. Each line contains a method that was called from the method on the previous line. So, java.lang.Thread.run() called sun.applet.AppletPanel.run(), which called Room.init(), etc. Look at the topmost line whose method is something you wrote, not something in the standard Java libraries. In your case it looks like PaintSurface.java (specifically, line 22). Look at what line 22 of PaintSurface.java is doing, it's calling Thread.start(). If you check out the Javadoc for Thread.start(), it says IllegalThreadStateException gets thrown if you call start() on a thread that has already started. So that's your problem. Without looking at your code, I'd assume you want to stop your thread in your applet's destroy() override, and instead of reusing it, create a new one each time init() is called.
    Ill try and look into, thanks again though, it gives me somthing to work with :D
    Btw when you first ran the applet, did all the ghosts(3) load up correctly?Unfortunately, no. The first time I ran it, there was only 1 ghost (or maybe all 3 overlapping each other?) at the top of the screen, and they never moved. Refreshing once made the game play as I think you want it to. Refreshing a third time gave the dreaded red X.
    ...oh and just out of curiosity,,, did u have fun playing the game :DSure did.

Maybe you are looking for

  • Nano 6th generation turn on button

    I would like to know my ipod nano (6th generation) doesnt turn on. Actually the turn on button doesnt work. It seems like the button loose inside but at the same time when I connect to the power it works. What should I do? Thanks

  • Equation on a wave with photoshop cs6

    Hello, i have a little problem making an easy thing: I created a text which follow a wave (a sinusoïd) in an image. I would like to do the same with an equation. I tried it the following way: I edit my equation with latex and make a pdf. I import my

  • Sound Distortion AP 11 and 12.

    I'm experiencing sound distortion and weak signal after AP upgraded to 11. I downloaded 12 and I still have the problem. Windows 7.

  • Problems resizing JSplitPane

    I have a JSplitPane with a Canvas3D on one side. It won't allow the split pane to be resized to make the canvas smaller. It will allow the splitpane to be resized to make the canvas larger, though. Is there a way to fix this? Thanks, Brian.

  • N8 RCA output, No Video!

    Hi! I wanted to see some videos on my TV, so I tried to use a 3.5mm Jack - RCA cable I had at home. I set the TV out option as default, left the default TV settings (Normal size, PAL code, and Unactive filter) and plugged the cable. On a CRT TV I see