Applet won't initialize

Hi,
I've been trying to get an applet to run for a while, but I get a blank screen and it says Applet not initialized whenver I try to run it. The applet works fine in Eclipse but I get this problem when I use JCreator or a browser. Can anyone help me find the problem?
Thanks in advance.
import java.awt.*;
import java.io.*;
import java.applet.Applet;
import java.util.Random;
public class MoveCrayons extends Applet
    private final int APPLET_WIDTH = 400;
    private final int APPLET_HEIGHT = 500;   
    private Crayon crayon1, crayon2, crayon3, crayon4, crayon5, crayon6;
   public void init ()
      Random gen = new Random();
       crayon1 = new Crayon(gen.nextInt(20) + 30, 25, new Color(gen.nextInt(256), gen.nextInt(256), gen.nextInt(256)), 1);
       crayon2 = new Crayon(gen.nextInt(20) + 30, 25, new Color(gen.nextInt(256), gen.nextInt(256), gen.nextInt(256)), 1);
       crayon3 = new Crayon(gen.nextInt(20) + 30, 25, new Color(gen.nextInt(256), gen.nextInt(256), gen.nextInt(256)), 1);
       crayon4 = new Crayon(gen.nextInt(20) + 30, 25, new Color(gen.nextInt(256), gen.nextInt(256), gen.nextInt(256)), 1);
       crayon5 = new Crayon(gen.nextInt(20) + 30, 25, new Color(gen.nextInt(256), gen.nextInt(256), gen.nextInt(256)), 1);
       crayon6 = new Crayon(gen.nextInt(20) + 30, 25, new Color(gen.nextInt(256), gen.nextInt(256), gen.nextInt(256)), 1);
      setBackground (Color.white);
      setSize (APPLET_WIDTH, APPLET_HEIGHT);
   public void paint (Graphics g)
          Thread thread = new Thread();
          for(int i = 0; i < 200; i++)
                    try
                         thread.sleep(30);
                         g.clearRect(0, 0, APPLET_WIDTH, APPLET_HEIGHT);
                         crayon1.move(g, 20);
                         crayon2.move(g, 20);
                         crayon3.move(g, 20);     
                         crayon4.move(g, 20);     
                         crayon5.move(g, 20);
                         crayon6.move(g, 20);
                         g.setColor(Color.yellow);
                    g.fillRect(20, 100, 220, 250);
                    g.setColor(Color.black);
                    g.drawRect(20, 100, 220, 250);                      
                   catch(InterruptedException e)
}

My immediate guess is that your HTML isn't set up correctly, so the browser can't find Crayon.class. Have a look at the Java console: does it have an exception stack trace?

Similar Messages

  • Why applet won't initialize

    I had the following applet running but I changed some of the code around
    . Now that I deleted whatever I was working on, the applet won't initialize. Where is the problem in the code:
    import javax.swing.*;
    import java.awt.Graphics;
    public class ClassAverageApplet extends JApplet
         String first,second, third, fourth,fifth, name, className;
          double a,b,c,d,e,f, sum;
        public void init() 
         String first,second, third, fourth,fifth, name, className;
          double a,b,c,d,e,f, sum;
          name = JOptionPane.showInputDialog("Student's name please");
          first = JOptionPane.showInputDialog("Please enter first Grade");
          a = Double.parseDouble(first);
          second = JOptionPane.showInputDialog("please enter second Grade");
          b = Double.parseDouble(second);
          third = JOptionPane.showInputDialog("please enter Third Grade");
          c = Double.parseDouble(third);
          fourth = JOptionPane.showInputDialog("please enter Fourth Grade");
          d = Double.parseDouble(fourth);
          fifth= JOptionPane.showInputDialog("please enter Fifth Grade");
          e = Double.parseDouble(fifth);
          f = (a + b + c + d + e)/5;
          sum = a + b + c + d + e;
       public void paint(Graphics g)
           g.drawRect(15,10,300,150);
    if(f  > 89)
      g.drawString("Student:    " + name,25,25);
      g.drawLine(25,25,70,25);
      g.drawString("Class:      " + name,25,40);
      g.drawLine(25,40,60,40);
      g.drawString("Your final grade is an A ",25,50);
      g.drawString("The sum of your grades out of 500 points is " + sum ,25,60);
      g.drawString("The grade average is " + f,25,70);
      g.drawString("Here are your grades for the class",70,90);
      g.drawLine(70,90,255,90);
      g.drawString("First Grade:    " + a,25,110);
      g.drawLine(25,110,90,110);
      g.drawString("Second Grade:   " + b ,25,120);
      g.drawLine(25,120,90,120);
      g.drawString("Third Grade:    " + c,25,130);
      g.drawLine(25,130,90,130);
      g.drawString("Fourth Grade:   " + d ,25,140);
      g.drawLine(25,140,90,140);
      g.drawString("Fifth Grade:    " + e,25,150);
      g.drawLine(25,150,90,150);
    }Thanks for your help.

    Hi mdiamond1,
    Your code worked for me on a Windows 98 machine with Micro$oft Internet Explorer 6 with the java plug-in version 1.4.1_01.
    Perhaps you can supply some more details about your environment and the exact error message and stack trace you are getting?
    Cheers,
    Avi.

  • Java Applet Won't Initialize

    This is a modified version of a tutorial I've been working with. Code for Main.java:
    import javax.swing.*;
    public class Main {       
    * @param args the command line arguments
    public static void main(String[] args) {
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    JFrame f = new JFrame("Swing Paint Demo");
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setSize(300,300);
    f.setVisible(true);
    Problem is that when I try to load the applet into an html file:
    <html>
    <APPLET code="Main.class"></APPLET>
    </html>
    It doesn't load.
    The file compiles and executes as a stand alone .jar, but when I try to run it as an applet it won't work.
    I know I'm probably missing an easy step. I have already checked my IE7 settings and java is enabled. I have no problem with any other java applets, just the ones I make. haha. Thank you ahead of time.

    I did some research, and got a new tutorial because the old one was inappropriate like you pointed out previously. This one I copy pasted into my editor, it compiled fine. I run it through my browser and it doesn't work still. Same issue, coincidentally, what do you make of it?import javax.swing.JApplet;
    import javax.swing.JTextField;
    import javax.swing.SwingUtilities;
    //Since we're adding a Swing component, we now need to
    //extend JApplet. We need to be careful to access
    //components only on the event-dispatching thread.
    public class Main extends JApplet {
        JTextField field;
        public void init() {
            //Execute a job on the event-dispatching thread:
            //creating this applet's GUI.
            try {
                SwingUtilities.invokeAndWait(new Runnable() {
                    public void run() {
                        createGUI();
            } catch (Exception e) {
                System.err.println("createGUI didn't successfully complete");
            addItem(false, "initializing... ");
        private void createGUI() {       
            //Create the text field and make it uneditable.
            field = new JTextField();
            field.setEditable(false);
            //Set the layout manager so that the text field will be
            //as wide as possible.
            setLayout(new java.awt.GridLayout(1,0));
            //Add the text field to the applet.
            add(field);
        public void start() {
            addItem(false, "starting... ");
        public void stop() {
            addItem(false, "stopping... ");
        public void destroy() {
            addItem(false, "preparing for unloading...");
            cleanUp();
        private void cleanUp() {
            //Execute a job on the event-dispatching thread:
            //taking the text field out of this applet.
            try {
                SwingUtilities.invokeAndWait(new Runnable() {
                    public void run() {
                        remove(field);
            } catch (Exception e) {
                System.err.println("cleanUp didn't successfully complete");
            field = null;
        private void addItem(boolean alreadyInEDT, String newWord) {
            if (alreadyInEDT) {
                addItem(newWord);
            } else {
                final String word = newWord;
                //Execute a job on the event-dispatching thread:
                //invoking addItem(newWord).
                try {
                    SwingUtilities.invokeAndWait(new Runnable() {
                        public void run() {
                            addItem(word);
                } catch (Exception e) {
                    System.err.println("addItem didn't successfully complete");
        //Invoke this method ONLY from the event-dispatching thread.
        private void addItem(String newWord) {
            String t = field.getText();
            System.out.println(newWord);
            field.setText(t + newWord);
    }

  • Applet won't initialize when testing Applet

    I compiled my file with no errors, yet when I test the Applet it tells me that it can not initialize, can anyone help me.
    Thanks

    Some source code causing the problem would be nice. Also, if are viewing your Applet in a browser make sure you are using JDK 1.0/1.1 classes/methods.
    Open your java console in your browser to see exactly what the Exception (if any) that is being thrown. (To enable your java console your might have to edit your browser settings, in IE you can do this through your tools/internet options/advanced then check the java console box.)

  • (Solved) obmenu and blueman-applet won't start

    Hi,
    after update the obmenu and blueman-applet won't start. googleing arround only says the the problem is fixed.
    obmenu:
    Traceback (most recent call last):
      File "/usr/bin/obmenu", line 21, in <module>
        import obxml, gtk, gtk.glade, gobject, random, time, os, sys
    ImportError: No module named obxml
    blueman-applet
    Traceback (most recent call last):
      File "/usr/bin/blueman-applet", line 40, in <module>
        from blueman.Constants import *
    ImportError: No module named blueman.Constants
    Last edited by LRRR (2010-10-13 17:25:27)

    based on your informations( which is lacking) i'm guessing that you are using testing, mostly because only from there you can get "after updates".
    if this indeed is the case, be sure you have community-testing enabled too

  • Applet won't proceed past "activate" command

    I am unable to work around this any longer.
    I have a script saved as an application bundle:
    (*BEGIN SCRIPT FOR APPLET 1*)
    set BA_ to ((path to me as Unicode text) & "Contents:Resources:BeepApplet.app")
    beep 3
    display dialog "Okay, this dialog shows.  But will the one AFTER the activate command show?"
    tell application BA_ to activate --should cause another 5 beeps, and probably will
    --But will the following dialog show?
    display dialog "Foiled Again?"
    --THE ANSWER IS NO!
    (*END SCRIPT FOR APPLET 1*)
    As you can see, the applet contains a second applet (in the bundle, but it could be anywhere if its path is properly specified).
    When the second applet is called (tell application BA_ to activate), the second applet does its thing properly (provides another 5 beeps), but for me the first applet won't proceed past the "activate" command.
    I've tried calling application BA_ in a variety of ways, but always seem to get the same result.  Is this normal behavior?  Is there a way around it?
    (Here's the very simple underlying script for application BA_:
    beep 5)

    Please see my response to red_menace.  I've indicated that both your and his response were "helpful"
    It appears that my response to red_menace has disappeared.  Basically, it provided a version of the applet script that seems to work;
    (*BEGIN REVISED SCRIPT FOR APPLET 1*)
    set BA_ to ((path to me as Unicode text) & "Contents:Resources:BeepApplet.app")
    beep 3
    display dialog "Okay, this dialog shows.  But will the one AFTER the launch-run command show?"
    tell application BA_ to launch
    tell application BA_ to run
    --But will the following dialog show?
    display dialog "Foiled Again?"
    --THE ANSWER IS (it seems to)!
    (*END REVISED SCRIPT FOR APPLET 1*)
    I also experimented with the load script/run script approach; while promising, it wasn't suited to my purposes.

  • Applet won't start

    Hi!
    I have written an applet that works just fine on my own Tomcat 4
    server but when i try it on this ISP:n (web-hotel) it won't work!
    The ISP:n is running a Linux server but without X installed. The
    applet is using the following classes:
    import java.applet.Applet;
    import java.applet.AppletContext;
    import java.awt.*;
    import java.io.DataInputStream;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.*;I know that AWT sometimes need X installed but the applet is
    client-side right? Anyone knows why the applet won't work??
    /Andreas

    Hey there Andreas,
    I thought I posted this once but since I don't see it in the list, I will try again!
    I checked your page out and I am not getting any errors so I assume that your class is up on the server and is serving up correctly. What I did notice, however, is that the file passed in as a parameter to the applet named "scrollinput.txt" is not in the directory with the page. This could be a problem. I have used a scrolling applet that does news with links in the past and the file had to be there for it to work. I am assuming the same applies here. So in short, I think the applet is working, it is just doing what it is told; Nothing.
    Take care,
    Patrick

  • Applet won't launch when using a search-engine cached or translated page

    My applet won't launch successfully if the page is encased in a search-engine cache envelope, or translated. For example:
    * [url http://translate.google.co.jp/translate?hl=ja&sl=en&u=http://www.r0k.us/graphics/SIHwheel.html&ei=yR7xTNKLOoSdlgfK3YzeDA&sa=X&oi=translate&ct=result&resnum=5&ved=0CEAQ7gEwBDgU&prev=/search%3Fq%3Dtrue%2Bcolor%2Bcharacteristics%26start%3D20%26hl%3Dja%26sa%3DN%26rls%3Dcom.microsoft:en-us:IE-SearchBox%26rlz%3D1I7ADRA_en%26prmd%3Db]Japanese translation of my Interactive Color Wheel
    Is there something I can do in either the Java code or the HTML page itself to allow the applet to work?
    The following appears in the Java Console on failure:
    load: class SIHwheel.class not found.
    java.lang.ClassNotFoundException: SIHwheel.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.IOException: open HTTP connection failed:http://translate.googleusercontent.com/SIHwheel/class.class
         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: SIHwheel.class

    A potential solution occurred to me right after I posted, and I think it may be working. (Can't tell for sure until search engine cache's updated with this change.) Basically I expanded the .jar archive name:
    <script type='text/javascript'>
    <!--
    applet_fu.run(
      {'width':'850','height':'690'},
        'archive':'http://r0k.us/graphics/SIHwheel.jar',
        'code':'SIHwheel.class',
      '1.4.2',
      'Get Java for free at http://java.com/ '
    -->
    </script>Before the change, the archive line simply referenced 'SIHwheel.jar'.
    The one downside to this, assuming it works, is that I'll need two versions of the page. A local one on my hard drive for when I want to test before deploying, and the networked version with the full URL. That's a worthwhile trade-off, though.
    Edited by: RichF on Nov 27, 2010 10:39 AM
    PS: the link in first post still fails, but it seems to be accessing yesterday's version of the page (date on bottom). Also I note that the HTML for that Google-translated page and Bing's cache page contain:
    <base href=http://www.r0k.us/graphics/SIHwheel.html />That works well for accessing all the locally-referenced images on the page, but for some reason fails to find the .jar file without a complete URL. The [url http://r0k.us/graphics/applet-fu.js]applet-fu.js script does not appearing to be adorning the archive line in any way.

  • Creative Cloud Set Up Won't Initialize

    Creative Cloud Set Up Won't Initialize, please HELP! Very Frustrated.

    BurtonBeebe what is the exact error which you are receiving?  Also which operating system are you using?  Please also see Error "Failed to Install" Creative Cloud Desktop application - http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html as it likely addresses the difficulty you are currently experiencing.

  • Won't Initialize

    Hi, I'm trying to install an updated Flash Player, and it won't initialize.  I've disabled my antivirus and removed previous versions.  Any tips?  Is there an older version I should run instead?  I'm running Windows XP and Firefox.  Thanks!

    Moved to Installing Flash Player

  • Photoshop 5.5: Text Engine Won't Initialize

    Just updated from 5 to 5.5 and now the Text Engine won't initialize.  How do I fix it.
    -r

    Boilerplate-text:
    Is the OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by keeping command-alt-shift/ctrl-alt-shift pressed while starting Photoshop, 3rd party plug-ins deactivation, system maintenance, font validation, etc.)?

  • My applet won't work in IE

    This applet won't work in IE, but it will in Opera, WHY??!!
    import java.awt.*;
    import java.applet.*;
    import javax.swing.*;
    public class MyApplet2 extends Applet {
         int hoeveelheid = 21;
         int computer;
         String vraag;
        int vraaggetal;
         public void start() {
              JOptionPane.showMessageDialog (null,
                    "We hebben 21 lucifers en we moeten er \n steeds om de beurt 1,2,3, of 4 pakken. \n Wie het laatste setje heeft, heeft gewonnenn.",
                  "Uitleg", JOptionPane.INFORMATION_MESSAGE);  
            while (hoeveelheid > 0){
                 do {     
                         vraag = JOptionPane.showInputDialog
                            ("We hebben er nog "+hoeveelheid+",\n hoeveel wil je er pakken?");
                      vraaggetal = Integer.parseInt (vraag);
                         if (vraaggetal > 4 || vraaggetal <= 0){
                                   JOptionPane.showMessageDialog (null,
                                     "Geef alsjeblieft een 1,2,3 of 4 in: ",
                                    "Fout", JOptionPane.INFORMATION_MESSAGE);
                         if (hoeveelheid < 4){
                              if (vraaggetal > hoeveelheid){
                                   JOptionPane.showMessageDialog (null,
                                     "We hebben er nog maar "+hoeveelheid+" dus "+vraaggetal+" lukt niet",
                                    "Fout", JOptionPane.INFORMATION_MESSAGE);                                                   
                  } while (vraaggetal > 4 || vraaggetal <= 0 || vraaggetal > hoeveelheid);          
               hoeveelheid = hoeveelheid - vraaggetal;
               if (hoeveelheid == 0) {
                         JOptionPane.showMessageDialog (null,
                               "U heeft gewonnen!! Gefeliciteerd",
                              "Victory", JOptionPane.INFORMATION_MESSAGE); 
               if (hoeveelheid != 0){
                         do {                        
                                computer = ((int)(Math.random() * 10));                                 
                           } while (computer > 4 || computer <= 0 || computer > hoeveelheid);
                             JOptionPane.showMessageDialog (null,
                           "We hebben nog "+hoeveelheid+",\n ik pak er "+computer,
                              "Uitleg", JOptionPane.INFORMATION_MESSAGE);
                              hoeveelheid = hoeveelheid - computer; 
                              if (hoeveelheid == 0){
                                   JOptionPane.showMessageDialog (null,
                                    "Whaha, ik heb gewonnen!!",
                                  "Victory", JOptionPane.INFORMATION_MESSAGE);   
    }

    You are using Swing components in your applet , and the Microsoft VM dosen't have the javax.swing package . You could try with the Sun Java Plug-in.

  • Class Not Found Exception - applet won't run anywhere outside of IDE

    I have an applet that runs perfectly in the netbeans IDE, but won't run from command prompt (I'm using windows) or from a browser. I've been banging my head against the wall for a few days on this one. Here's the HTML I'm using:
    <applet width="400" height="525" code="musicapplet.class" archive="crypticgraffiti.jar">
    <param name="bgcolor" value="ffffff"> <param name="fontcolor" value="000000">
    </param> </param> Your browser is not Java enabled. </applet>
    Here is the structure of the jar file's contents:
    META-INF/
    META-INF/MANIFEST.MF
    com/
    com/crypticgraffiti/
    com/crypticgraffiti/music/musicapplet
    com/crypticgraffiti/music/GetNotes.class
    com/crypticgraffiti/music/InstList.class
    com/crypticgraffiti/music/Mode.class
    com/crypticgraffiti/music/MusicCreator.class
    com/crypticgraffiti/music/OctaveTransformer.class
    com/crypticgraffiti/music/Phrase.class
    musicapplet/MusicApplet$playerThread.class
    musicapplet/MusicApplet.class
    (Musicapplet.class is the main class)
    When I attempt to run from command prompt, I get:
    "Error: Could not find or load main class crypticgraffiti.MusicApplet"
    When I attempt to load via html:
    "basic: load: class musicapplet.class not found.
    load: class musicapplet.class not found.
    java.lang.ClassNotFoundException: musicapplet.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)
    Exception: java.lang.ClassNotFoundException: musicapplet.class
    security: Accessing keys and certificate in Mozilla user profile: null"
    I have tried every possible variation for the 'code' element of the applet tag (package.mainclass.class, mainclass, mainclass.class, etc). I have also tried compiling with JDK 1.6 and this didn't change anything. I've tried clearing out the cache of temporary files using the java control panel settings, and have verified that my browser can run other applets using JRE 6 and 7.
    I've tried some different ways of distributing the applet, also: putting all the class files in the folder with the html file, putting the classes in a source folder in the same folder as the html file, and finally putting a jar in the same folder as the html file (which really seems the simplest).
    Any help at all would be most appreciated! This applet is a very cool and original music creating app that draws heavily on the JFugue API. It's a shame that I can't get it online for people to play with!

    Cryptic Graffiti wrote:
    Here is the structure of the jar file's contents:
    META-INF/
    META-INF/MANIFEST.MF
    com/
    com/crypticgraffiti/
    com/crypticgraffiti/music/musicapplet
    com/crypticgraffiti/music/GetNotes.class
    com/crypticgraffiti/music/InstList.class
    com/crypticgraffiti/music/Mode.class
    com/crypticgraffiti/music/MusicCreator.class
    com/crypticgraffiti/music/OctaveTransformer.class
    com/crypticgraffiti/music/Phrase.class
    musicapplet/MusicApplet$playerThread.class
    musicapplet/MusicApplet.class
    (Musicapplet.class is the main class)
    Please note that class names are case sensitive so "MusicApplet" is not same as "Musicapplet" or "musicapplet". Your applet tag should have fully qualified class name (without quotes) and should look like this:
    <applet width=400 height=525 code=musicapplet.MusicApplet archive="crypticgraffiti.jar">
    </applet>
    The JAR should be in the same directory as your HTML file. While launching from command line, you can also check if your JAR file is getting included in classpath.
    Thanks,
    Nitin

  • Java applets won't run on Safari???

    I have reinstalled Java twice, and it still won't run any Java applets. It just sits there with the cup logo and the arrow on either side. It works fine on Firefox but not Safari. Help?

    Hello
    I'm piggy backing on this thread because I too have had problems with Java and Safari
    Java runs fine for me in Firefox, however.
    I went to a federal website
    https://blrscr3.egs-seg.gc.ca/gol-ged/gov/browserdetection/BrowserCheck.html
    that uses java and received this message
    " Java applet unable to load
    To use this service, you must either install a recent version of the Sun JVM or enable "Scripting of Java applets" if it has been disabled."
    so i looked for an update and have downloaded and installed release 6, (at least, it said that it was installed, but have never been able to figure out where)
    when I check Java preferences, the choices are J2SE 1.4.2 or J2SE 5, and when I've switched to 1.4.2 I still have no luck.
    When i run firefox, i get the java console opening, but it doesn't open with safari, and I can't find the option for this to turn on in safari
    i have restarted both safari and my computer and no luck. I have repaired permissions and no changes have taken place.
    Any more suggestions?
    (thank you, by the way)

  • Applet won't repaint itself

    i have an applet that contains a jtexatrea 3 buttons and a jlabel.
    when i start it everuthing is just fine.
    however, my applet is supposed to open a file form the local filesystem (so it is signed) and after i click OK in the choose file dialog, my applet keeps the image of the dialog.
    what do i have to do in order to solve this ?
    p.s. and the same issue occurs when i minimiza the browswer and maximize it again. it just won't repaint.

    A potential solution occurred to me right after I posted, and I think it may be working. (Can't tell for sure until search engine cache's updated with this change.) Basically I expanded the .jar archive name:
    <script type='text/javascript'>
    <!--
    applet_fu.run(
      {'width':'850','height':'690'},
        'archive':'http://r0k.us/graphics/SIHwheel.jar',
        'code':'SIHwheel.class',
      '1.4.2',
      'Get Java for free at http://java.com/ '
    -->
    </script>Before the change, the archive line simply referenced 'SIHwheel.jar'.
    The one downside to this, assuming it works, is that I'll need two versions of the page. A local one on my hard drive for when I want to test before deploying, and the networked version with the full URL. That's a worthwhile trade-off, though.
    Edited by: RichF on Nov 27, 2010 10:39 AM
    PS: the link in first post still fails, but it seems to be accessing yesterday's version of the page (date on bottom). Also I note that the HTML for that Google-translated page and Bing's cache page contain:
    <base href=http://www.r0k.us/graphics/SIHwheel.html />That works well for accessing all the locally-referenced images on the page, but for some reason fails to find the .jar file without a complete URL. The [url http://r0k.us/graphics/applet-fu.js]applet-fu.js script does not appearing to be adorning the archive line in any way.

Maybe you are looking for

  • Archiving selected images on hard drive and removing from i-photo

    My library is getting big. I would like to move selected image files from i-photo to a hard drive, and then delete the i-photo versions. Can this be done? Thanks in advance

  • How to save image shape ??

    Hello all .. I am trying to develop the PuzzlePieces of javafx.com. If a player wants to cancel the game in middle stage i want to save the current status.after pressing a LOAD button he will be able to get his previously half completed game . how ca

  • Urgent : Problem in passing CLOB object in jdbc call to stored procedure

    i have written a simple program which is enclosed along in which I have insert set value of the CLOB object of a table through the JDBC callablestatement and i m getting error "cannot perform operation with LOB buffering enabled". so please check the

  • GAPS IN  FICO

    Hi SAP Gurus', Can anyone send me the gaps in FICO ,i knw wat gap analysis actually i am preparin for  interview...i want some examples for GAPS in real time. Thank you

  • Re-install of Labwindows contains an DLL load error

    I am trying to re-install LabWindows 7.1.1.  After installation, everytime I try to use the library, I get at least 2 or 3 messages that state Automation Support DLL not found.  After that, the routine works correctly.  Anybody know what I lost?