Unwanted reloading Applet behavior

I have a dynamic JTree component on an applet and as and when the user uses the application, nodes are added to or deleted from the JTree. But looks like the Applet behavior is to reload the applet everytime it is revisited or minimized/maximized, and hence the JTree goes back to the initial empty tree state. The JTree's root is initialized in the init() and every time the user adds/deletes a node, the JTree is modified to reflect those node changes. But since the applet is part of a multi-frame HTML, the applet gets reloaded each time and reverts back to its initial state.
How can I stop the applet from invoking the init(), start() and stop() method each time? Or is the alternative to using a custom JTree Data model, one that reads its data from a Database make more sense? In that way, everytime the applet is reloaded, the JTree reads the latest data from the database and does not go back to initial empty tree state?
Thanks for all your replies in advance!

If your applet is reloading, then it will go back to the initial state - invokes init method. To create persistent objects, you may be better off to store the state of the object on your server as a file (object serialization) or a data base. So, that you can reload the previous state even when the init method is invoked - applet reloaded.
But if you are just maximizing, minimizing, cover/uncover the broswer that has the JApplet with the JTree it should be able to maintain it's current state since only repaint methods are invoked and not init.

Similar Messages

  • Applet Behavior in (IE6/JRE1.5u11) vs (IE8/JRE1.6u32)

    Hi,
    i observed different applet behavior between the following environments
    1. Internet Explorer 6 with JRE 1.5 u11
    2. Internet Explorer 8 with JRE 1.6 u32
    I setup the following test environment.
    1. Create a page that loads an applet.
    2. There is a button in the page that allow me to navigate to another page.
    3. In my applet init() method, I place a sleep(5000) to simulate some activities.
    I ran the following test.
    1. Load the page
    2. while the init() method is still running, I click on the button to navigate to another page.
    Results as follows.
    1. IE 6 Environment -- Applet will complete init(), execute start() , stop() before navigate to the new page.
    2. IE8 Environment - Init() method will throws an InterruptedException.
    Question is:
    1. I tried searching for documentation for the above behavior but was unable to find any, can any kind souls help?
    2. How do I achieve the behavior in IE6 env in the IE8 env? ie. ensure that the applet is successfully executed before allow it to be interrupted.
    Thanks.
    Edited by: user4546295 on Feb 26, 2013 1:42 AM

  • How to reload applet?

    I want to reload applet by the program. In the program, under some condition, I want to reload the applet. Please let me know how can I implement it.
    Thanks & Regards,
    Nasrin.N

    Hey fuckwit!
    Please stop multiposting every single question you have into three or four different forums.
    Thank you for your co-operation in this matter.

  • Reloading applet

    Hi all!
    I have been searching for a while for a code that would let me reload my Applet, but I haven't found anything really. Would anyone be able to tell me if there's a code that would allow that to happen.
    It's just that I've created an Applet and there's a button whose event handler must restart the whole Applet but up to now it's not operating at all. I would be grateful if somebody could answer me this.
    Yours,
    Saulo

    All I need is to make the same graphics from the start of the Applet to be displayed once a certain button is clicked. I thought that by realoading the Applet the result would be the same... I tried to put reapeat the code I've written for the beginning on the instance where the button is but that caused me a series of errors. I wonder what that might be, as all I had were components of a paint method.
    Regards,
    Saulo

  • Reloading applet in opera throws NullPointerException in SunGraphics2D

    i have an Applet, which checks for Sun JVM. If MS JVM, it aborts. If Sun JVM, it starts new JApplet.
    Everything is working fine, until i tried to reload the html page with the applet tag in it.
    On MS IE, it is working. The Applet is stopped and then restarted.
    On Mozilla, it is working.
    But on Opera, the following Exception is thrown after i have reloaded the page once.
    After reloading, the Exception is also thrown everytime i scroll the page or reload the page.
    java.lang.NullPointerException
         at sun.java2d.SunGraphics2D.<init>(Unknown Source)
         at sun.awt.image.SunVolatileImage.createGraphics(Unknown Source)
         at java.awt.image.VolatileImage.getGraphics(Unknown Source)
         at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
         at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
         at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
         at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
         at java.awt.Container.paint(Unknown Source)
         at sun.awt.RepaintArea.paint(Unknown Source)
         at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    As said, i'm using an Applet class and an JApplet class. the Applet class has only AWT components,
    the JApplet class has swing components (a list and a few JButtons).
    i'm using a thread, but it is not started.
    also, after the reload in opera, the whole applet is started again (as usual), and AFTER the last debug message,
    this exception is thrown. so there is no code of myself after that last debug message.
    i am using java 1.4.2-beta, but users told me they have the same problem with my applet on other computers with
    other jvms.

    i tried a beta-version of opera 7.20 and here are some source code line numbers visible:
    perhaps someone can tell me now, what's happening there and give me a tipp how to solve this problem.
    java.lang.NullPointerException
    at sun.java2d.SunGraphics2D.<init>(SunGraphics2D.java:212)
    at sun.awt.image.SunVolatileImage.createGraphics(SunVolatileImage.java:176)
    at java.awt.image.VolatileImage.getGraphics(VolatileImage.java:223)
    at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4768)
    at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4748)
    at javax.swing.JComponent.paint(JComponent.java:798)
    at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
    at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
    at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
    at java.awt.Container.paint(Container.java:1312)
    at sun.awt.RepaintArea.paint(RepaintArea.java:177)
    at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
    at java.awt.Component.dispatchEventImpl(Component.java:3678)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • Reloading Applet w/ a button....

    I have a tic tac toe game i just made, it pretty much works fine, except for few minor technical errors (such as the next player text being dispalyed after a win has occured.)
    However, what I would like to do is add a button that says "Play Again". Since I know how to add buttons that part is easy enough. What I don't know, and can't find easily, is how to add code that will make the applet reload upon the button press.
    I am looking for the easiest AND most efficient way possible. Thank you.

    Well I dont understand why you cant make an endless loop inside the applet insted of reloading the applet?
    this maybe work
    URL url;
    then in the code
    do this
    try{
    url=new URL("adress of the html page");
    catch(MalformedURLException e){
    getAppletContext().showDocument(url);
    this gets the applet to call the browser to load a specific html page, if you put the same adress, it will probably reload it.
    you also need to import those to make it work
    import java.net.URL;
    import java.net.MalformedURLException;
    hope this helps

  • How to load new sets of parameter to an applet without reloading applet

    hello,
    I am making an application wherein the there are 2 frames the left and the right. the left frames contains links and the right frame contains an applet that displays the images of the documents.
    So for example:
    DOC00001 has Image 1 and Image 2
    DOC00002 has Image 3 and Image 4
    At first applet will be loaded, and the loading applet (Splash screen) appears then displays Image 1 and Image 2. But when I click DOC00002, it is reloaded again(Splash Screen) before displaying image 3 and 4.
    Is there a way wherein I just call a function from the applet so that I dont need to reload again the applet and just change its display?
    hoping for help. thank you

    Hi,
    You can make an executable jar file such that when you double click on that it starts running. Just follow the steps.
    1. Open a notepad and write the following
    Main-Class: XXXXXXXX
    XXXXXXX means Your Main Class name. Don't forget to press Enter after you write your class name.
    2. Save the file as Mani.mf
    3. In the commant prompt ( your directory ) type following lines.
    jar cmf Mani.mf Demo.jar *.*
    4. This will make a jar file which is executable jar file
    Hope this will help you.
    Deepak

  • Reload applet from server

    Hi,
    I have an applet 'appl.java' which takes an data.xml file(exists on server), the applet is embedded on a web page. A button is also provided on the web page. When the user clicks on that button the server updates the data.xml file(on the server), now I need to reload the data.xml file as input to the applet. so i decided to refresh the page so that the applet gets reloaded but the applet does not process the new data.xml file. How should I reload the applet on the page with new data.xml?

    Hi Rajesh,
    Verify that file data.xml is not in a directory with a content expiration set.
    If so, the explorer will retrive it from cache.
    Regards, Gustavo Oga

  • Reload applet

    this is a silly question, but how do I make the browser reload the applet every time? It seems my is downloading and caheing the applet, so modifications in the code dont show.

    Try adding the following to your html file -- there is
    no guarantee that this will work unless your applet is
    kept on a secured server:
    <head>
    <title>whatever...</title>
    <meta http-equiv="expires" content="-1">
    <meta http-equiv="pragma" content="no-cache">
    </head>
    Thanks vv,
    Is there another way? I've tried it without success. I think the applet is cached and so the applet works the 'old' way even after I modify and re-compile my codes.
    The modification of the html page is reflected by control-refresh, yes. (but not the Applet). I can test it easily by modifying the size attributes of the Applet/Object tag.
    What is a secured server? My test is purely an intranet environment.
    Thanks

  • HELP with reloading applet AFTER it displays image

    Hi people
    I got a webpage that loads an applet which constantly needs to be refreshed in order for the applet to display a newer version of an image file (not very efficient I know). The image file is being constantly updated and so I need a way of refreshing the applet only AFTER it has been completely been loaded and is displaying the image?
    I thought that
    for(;;)
      Thread.sleep(3000);
      getAppletContext().showDocument(url);
    }might do it but all it seems to do is refresh the page before anything is displayed
    Any ideas?

    If I put this problem in another way then it might help you KIND bunch to help me out.
    My remote desktop application has only 1 little problem left. It displays the 1st image using the method below:
    public void scrn()
      try
        fileSize = dis.readInt();
        fileInBuffer = new byte[fileSize];
        dis.readFully(fileInBuffer, 0, fileSize-1);
        //Create an image from the byte array
        img = Toolkit.getDefaultToolkit().createImage(fileInBuffer);
        //Create a Canvas object and add the canvas to the applet
        canvas = new IRDPCanvas(img, this);
        canvas.addMouseListener(this);
        canvas.addKeyListener(this);
        add(canvas);
      catch (Exception ioe)
    }where dis = dataInputStream
    IRDPCanvas has the following method
    public void paint(Graphics g)
      System.out.println("in paint");
      if(image != null)
        if(tracker.checkAll(true))
          if(tracker.isErrorAny())
            System.out.println("Can't load image");
          cont.validate();
      g.drawImage(image, 0, 0, this);
    }where Container = cont
    My problem is that applet displays the first image and then stops. If I rrefresh the page then the applet would display the next image and stop. This means that I have to constantly hit refresh in order for it to display the next image after the current one. Is there a better way of doing this?
    I really need help here. PLEASE HELP.

  • Force IE to reload applet jar without closing browser?

    Hello,
    We have an applet that we need to support with both the Sun plugin and the MS JVM in IE. We do releases weekly and need to make sure our users get the most recent version of the jar when they launch the applet after a release. With the plugin, we can do this by using the cache version tags that the plug in supports, but with the MS JVM it appears that unless the browser is closed and reopened, the user will get the cached version of the applet from the browser cache (or the running JVM?). How can I ensure that the browser will get the newer version without having the users reopen their browsers. Also, does anyone know what the problem is here? Where does the MS JVM cache the applet? Is it sitting around in the JVM and only when the brower is closed and JVM destroyed that you can get the new version? How does the MS JVM deal with caching applets?
    BTW, I am not talking about making sure the HTML/applet tags arent cached, I dont think that is related to the jars being cached while the browser is still open.
    Thanks
    Aaron

    *** Jtrace: Found a free socket port: 2843
    native lib path C:\Program Files\Java\jre1.6.0_03\lib\ext*** Jtrace: nspr4.dll under C:\Program Files\Java\jre1.6.0_03\lib\ext\ielib is set to PATH
    *** Jtrace: Engine initialize once!
    native lib path C:\Program Files\Java\jre1.6.0_03\lib\ext*** Jtrace: Executing IeEmbed.exe -port=2843
    *** Jtrace: Connecting to native browser ... 0
    *** Jtrace: connected
    *** Jtrace: Process event to native browser: 0, 0,
    *** Jtrace: Send data to socket: 0,0,</html><body></html>
    *** Jtrace: Process event to native browser: 0, 1,
    *** Jtrace: Send data to socket: 0,1,459914</html><body></html>
    *** Jtrace: Read data from socket: 0,3042</html><body></html>
    *** Jtrace: Got a complete short message: 0,3042
    *** Jtrace: Process event from native browser: 0, 3042, null
    *** Jtrace: Process event to native browser: 0, 5,
    *** Jtrace: Send data to socket: 0,5,http://www.calpinetech.com</html><body></html>
    *** Jtrace: Process event to native browser: 0, 4,
    *** Jtrace: Send data to socket: 0,4,0,36,1000,464</html><body></html>
    *** Jtrace: Read data from socket: 0,3003</html><body></html>0,3022,back=0</html><body></html>0,3022,forward=0</html><body></html>
    *** Jtrace: Got a complete short message: 0,3003
    *** Jtrace: Process event from native browser: 0, 3003, null
    *** Jtrace: Got a complete short message: 0,3022,back=0
    *** Jtrace: Process event from native browser: 0, 3022, back=0
    *** Jtrace: Got a complete short message: 0,3022,forward=0
    *** Jtrace: Process event from native browser: 0, 3022, forward=0
    *** Jtrace: Read data from socket: 0,3024,Waiting for about:blank...</html><body></html>0,3022,back=0</html><body></html>0,3022,forward=0</html><body></html>
    *** Jtrace: Got a complete short message: 0,3024,Waiting for about:blank...
    *** Jtrace: Process event from native browser: 0, 3024, Waiting for about:blank...
    *** Jtrace: Got a complete short message: 0,3022,back=0
    *** Jtrace: Process event from native browser: 0, 3022, back=0
    *** Jtrace: Got a complete short message: 0,3022,forward=0
    *** Jtrace: Process event from native browser: 0, 3022, forward=0
    *** Jtrace: Read data from socket: 0,3023,about:blank</html><body></html>0,3004</html><body></html>0,3024,Done</html><body></html>0,3005</html><body></html>0,3023,about:blank</html><body></html>0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3023,about:blank
    *** Jtrace: Process event from native browser: 0, 3023, about:blank
    *** Jtrace: Got a complete short message: 0,3004
    *** Jtrace: Process event from native browser: 0, 3004, null
    *** Jtrace: Got a complete short message: 0,3024,Done
    *** Jtrace: Process event from native browser: 0, 3024, Done
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Got a complete short message: 0,3023,about:blank
    *** Jtrace: Process event from native browser: 0, 3023, about:blank
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3042
    *** Jtrace: Dispatch event from NativeEventThread: 3003
    *** Jtrace: Dispatch event from NativeEventThread: 3022
    *** Jtrace: Back State changed = false
    *** Jtrace: Dispatch event from NativeEventThread: 3022
    *** Jtrace: Forward State changed = false
    *** Jtrace: Dispatch event from NativeEventThread: 3024
    *** Jtrace: Dispatch event from NativeEventThread: 3022
    *** Jtrace: Back State changed = false
    *** Jtrace: Dispatch event from NativeEventThread: 3022
    *** Jtrace: Forward State changed = false
    *** Jtrace: Dispatch event from NativeEventThread: 3023
    *** Jtrace: Dispatch event from NativeEventThread: 3004
    *** Jtrace: Dispatch event from NativeEventThread: 3024
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Dispatch event from NativeEventThread: 3023
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3001,http://www.calpinetech.com/</html><body></html>
    *** Jtrace: Got a complete short message: 0,3001,http://www.calpinetech.com/
    *** Jtrace: Process event from native browser: 0, 3001, http://www.calpinetech.com/
    *** Jtrace: Dispatch event from NativeEventThread: 3001
    *** Jtrace: URL = http://www.calpinetech.com/
    *** Jtrace: Send data to socket: @0,3001,0</html><body></html>
    *** Jtrace: Read data from socket: 0,3003</html><body></html>0,3024,Done</html><body></html>0,3003</html><body></html>
    *** Jtrace: Got a complete short message: 0,3003
    *** Jtrace: Process event from native browser: 0, 3003, null
    *** Jtrace: Dispatch event from NativeEventThread: 3003
    *** Jtrace: Got a complete short message: 0,3024,Done
    *** Jtrace: Process event from native browser: 0, 3024, Done
    *** Jtrace: Dispatch event from NativeEventThread: 3024
    *** Jtrace: Got a complete short message: 0,3003
    *** Jtrace: Process event from native browser: 0, 3003, null
    *** Jtrace: Dispatch event from NativeEventThread: 3003
    *** Jtrace: Read data from socket: 0,3005</html><body></html>0,3024,Waiting for http://www.calpinetech.com/...</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Got a complete short message: 0,3024,Waiting for http://www.calpinetech.com/...
    *** Jtrace: Process event from native browser: 0, 3024, Waiting for http://www.calpinetech.com/...
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Dispatch event from NativeEventThread: 3024
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3024,Waiting for http://www.calpinetech.com/...</html><body></html>
    *** Jtrace: Got a complete short message: 0,3024,Waiting for http://www.calpinetech.com/...
    *** Jtrace: Process event from native browser: 0, 3024, Waiting for http://www.calpinetech.com/...
    *** Jtrace: Dispatch event from NativeEventThread: 3024
    *** Jtrace: Read data from socket: 0,3022,back=0</html><body></html>0,3022,forward=0</html><body></html>
    *** Jtrace: Got a complete short message: 0,3022,back=0
    *** Jtrace: Process event from native browser: 0, 3022, back=0
    *** Jtrace: Dispatch event from NativeEventThread: 3022
    *** Jtrace: Back State changed = false
    *** Jtrace: Got a complete short message: 0,3022,forward=0
    *** Jtrace: Process event from native browser: 0, 3022, forward=0
    *** Jtrace: Dispatch event from NativeEventThread: 3022
    *** Jtrace: Forward State changed = false
    *** Jtrace: Read data from socket: 0,3022,back=0</html><body></html>0,3022,forward=0</html><body></html>0,3022,back=0</html><body></html>0,3022,forward=0</html><body></html>0,3023,about:blank</html><body></html>0,3004</html><body></html>
    *** Jtrace: Got a complete short message: 0,3022,back=0
    *** Jtrace: Process event from native browser: 0, 3022, back=0
    *** Jtrace: Got a complete short message: 0,3022,forward=0
    *** Jtrace: Process event from native browser: 0, 3022, forward=0
    *** Jtrace: Dispatch event from NativeEventThread: 3022
    *** Jtrace: Back State changed = false
    *** Jtrace: Dispatch event from NativeEventThread: 3022
    *** Jtrace: Forward State changed = false
    *** Jtrace: Got a complete short message: 0,3022,back=0
    *** Jtrace: Process event from native browser: 0, 3022, back=0
    *** Jtrace: Dispatch event from NativeEventThread: 3022
    *** Jtrace: Back State changed = false
    *** Jtrace: Got a complete short message: 0,3022,forward=0
    *** Jtrace: Process event from native browser: 0, 3022, forward=0
    *** Jtrace: Dispatch event from NativeEventThread: 3022
    *** Jtrace: Forward State changed = false
    *** Jtrace: Got a complete short message: 0,3023,about:blank
    *** Jtrace: Process event from native browser: 0, 3023, about:blank
    *** Jtrace: Dispatch event from NativeEventThread: 3023
    *** Jtrace: Got a complete short message: 0,3004
    *** Jtrace: Process event from native browser: 0, 3004, null
    *** Jtrace: Dispatch event from NativeEventThread: 3004
    *** Jtrace: Read data from socket: 0,3023,Calpine Technologies</html><body></html>
    *** Jtrace: Got a complete short message: 0,3023,Calpine Technologies
    *** Jtrace: Process event from native browser: 0, 3023, Calpine Technologies
    *** Jtrace: Dispatch event from NativeEventThread: 3023
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3024,Waiting for http://www.calpinetech.com/...</html><body></html>
    *** Jtrace: Got a complete short message: 0,3024,Waiting for http://www.calpinetech.com/...
    *** Jtrace: Process event from native browser: 0, 3024, Waiting for http://www.calpinetech.com/...
    *** Jtrace: Dispatch event from NativeEventThread: 3024
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3024,Waiting for http://www.calpinetech.com/...</html><body></html>
    *** Jtrace: Got a complete short message: 0,3024,Waiting for http://www.calpinetech.com/...
    *** Jtrace: Process event from native browser: 0, 3024, Waiting for http://www.calpinetech.com/...
    *** Jtrace: Dispatch event from NativeEventThread: 3024
    *** Jtrace: Read data from socket: 0,3024,Waiting for http://www.calpinetech.com/...</html><body></html>
    *** Jtrace: Got a complete short message: 0,3024,Waiting for http://www.calpinetech.com/...
    *** Jtrace: Process event from native browser: 0, 3024, Waiting for http://www.calpinetech.com/...
    *** Jtrace: Dispatch event from NativeEventThread: 3024
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Dispatch event from NativeEventThread: 3005
    *** Jtrace: Read data from socket: 0,3005</html><body></html>
    *** Jtrace: Got a complete short message: 0,3005
    *** Jtrace: Process event from native browser: 0, 3005, null
    *** Jtrace: Process event to native browser: 0, 15,
    *** Jtrace: Send data to socket: 0,15,</html><body></html>
    *** Jtrace: Read data from socket: 0,3061,<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Calpine Technologies</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><LINK href="css/home_layout.css" type=text/css rel=stylesheet>
    <SCRIPT src="Scripts/AC_RunActiveContent.js" type=text/javascript></SCRIPT>
    </HEAD>
    <BODY>
    <CENTER>
    <DIV id=main>
    <DIV id=topnavigation align=left>
    <DIV class=fontboldgray id=topnavigationinner>
    <DIV align=left>  HOME    |    ABOUT US   |    SOLUTIONS    |    OUTSOURCING   |   CAREERS    |  HOW WE WORK   |  CONTACT US   |    LOGIN      </DIV></DIV>
    <DIV id=topnavigationicons align=right><IMG height=18 src="images/top_icon.gif" wi</html><body></html>_head
    *** Jtrace: Got a head message piece: <HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Calpine Technologies</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><LINK href="css/home_layout.css" type=text/css rel=stylesheet>
    <SCRIPT src="Scripts/AC_RunActiveContent.js" type=text/javascript></SCRIPT>
    </HEAD>
    <BODY>
    <CENTER>
    <DIV id=main>
    <DIV id=topnavigation align=left>
    <DIV class=fontboldgray id=topnavigationinner>
    <DIV align=left>  HOME    |    ABOUT US   |    SOLUTIONS    |    OUTSOURCING   |   CAREERS    |  HOW WE WORK   |  CONTACT US   |    LOGIN      </DIV></DIV>
    <DIV id=topnavigationicons align=right><IMG height=18 src="images/top_icon.gif" wi
    *** Jtrace: Read data from socket: 0,3061,dth=60 useMap=#Map border=0> <MAP id=Map name=Map><AREA shape=RECT coords=43,0,60,12 href="#"><AREA shape=RECT coords=21,0,38,12 href="#"><AREA shape=RECT coords=0,0,17,12 href="#"></MAP></DIV></DIV>
    <DIV id=login style="DISPLAY: none; Z-INDEX: 3; OVERFLOW: hidden; PADDING-TOP: 4px; POSITION: absolute">
    <DIV id=logindiv>
    <FORM style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px" name=loginfrm action=# method=post ?>
    <TABLE class=logintable width="100%">
    <TBODY>
    <TR>
    <TD vAlign=top align=right colSpan=2><A onclick="overlayclose('login'); return false" href="#"><IMG src="images/n.gif" border=0></A></TD></TR>
    <TR>
    <TD class=logintext align=right>USER ID </TD>
    <TD align=left><INPUT name=userName></TD></TR>
    <TR>
    <TD class=logintext align=right>PASSWORD </TD>
    <TD align=left><INPUT type=password value="" name=password><INPUT type=hidden value=Login name=login></TD></TR>
    <TR>
    <TD align=middle></TD>
    <TD align=left><IMG style="CURSOR: hand" onclick="return va</html><body></html>_middle
    *** Jtrace: Got a middle message piece: dth=60 useMap=#Map border=0> <MAP id=Map name=Map><AREA shape=RECT coords=43,0,60,12 href="#"><AREA shape=RECT coords=21,0,38,12 href="#"><AREA shape=RECT coords=0,0,17,12 href="#"></MAP></DIV></DIV>
    <DIV id=login style="DISPLAY: none; Z-INDEX: 3; OVERFLOW: hidden; PADDING-TOP: 4px; POSITION: absolute">
    <DIV id=logindiv>
    <FORM style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px" name=loginfrm action=# method=post ?>
    <TABLE class=logintable width="100%">
    <TBODY>
    <TR>
    <TD vAlign=top align=right colSpan=2><A onclick="overlayclose('login'); return false" href="#"><IMG src="images/n.gif" border=0></A></TD></TR>
    <TR>
    <TD class=logintext align=right>USER ID </TD>
    <TD align=left><INPUT name=userName></TD></TR>
    <TR>
    <TD class=logintext align=right>PASSWORD </TD>
    <TD align=left><INPUT type=password value="" name=password><INPUT type=hidden value=Login name=login></TD></TR>
    <TR>
    <TD align=middle></TD>
    <TD align=left><IMG style="CURSOR: hand" onclick="return va
    *** Jtrace: Read data from socket: 0,3061,lform();" src="images/login.gif" name=login></TD></TD></TR></TBODY></TABLE></FORM></DIV></DIV>
    <DIV id=left>
    <DIV id=logocontainer>
    <DIV id=leftsidepadding align=left><A href="index.php"><IMG height=49 alt=Calpine src="images/logo.gif" width=245 border=0></A></DIV></DIV>
    <DIV id=left>
    <DIV id=aboutcalpine>
    <DIV id=leftsideaboutcalpine align=left><SPAN class=fontbold>About Calpine </SPAN><BR><SPAN class=font>Calpine technologies is a company specialized in custom software development, web design, Internet /Intranet applications and consulting services. The company has potential and experience in development of complex solutions for its customers. Calpine provides Exceptional Solutions at an Exceptional Price.</SPAN><BR><BR></DIV></DIV>
    <DIV id=search>
    <DIV class=fontbold id=leftsidesearch align=left>Search Site<BR>
    <DIV id=input><INPUT class=input name=textfield> <IMG height=17 src="images/go.gif" width=23></DIV>
    <DIV id=input><SPAN class=font>Advanced Search</SPAN></DIV></DIV></DIV>
    <DIV id=search></html><body></html>_middle
    *** Jtrace: Got a middle message piece: lform();" src="images/login.gif" name=login></TD></TD></TR></TBODY></TABLE></FORM></DIV></DIV>
    <DIV id=left>
    <DIV id=logocontainer>
    <DIV id=leftsidepadding align=left><IMG height=49 alt=Calpine src="images/logo.gif" width=245 border=0></DIV></DIV>
    <DIV id=left>
    <DIV id=aboutcalpine>
    <DIV id=leftsideaboutcalpine align=left><SPAN class=fontbold>About Calpine </SPAN><BR><SPAN class=font>Calpine technologies is a company specialized in custom software development, web design, Internet /Intranet applications and consulting services. The company has potential and experience in development of complex solutions for its customers. Calpine provides Exceptional Solutions at an Exceptional Price.</SPAN><BR><BR></DIV></DIV>
    <DIV id=search>
    <DIV class=fontbold id=leftsidesearch align=left>Search Site<BR>
    <DIV id=input><INPUT class=input name=textfield> <IMG height=17 src="images/go.gif" width=23></DIV>
    <DIV id=input><SPAN class=font>Advanced Search</SPAN></DIV></DIV></DIV>
    <DIV id=search>
    *** Jtrace: Read data from socket: 0,3061,
    <DIV class=fontbold id=leftsideevents align=left>Upcoming Event <BR><BR><SPAN class=font>See us at these upcoming shows</SPAN><BR><IMG height=51 src="images/upcoing.gif" width=193 border=0></DIV></DIV></DIV></DIV>
    <DIV id=domain>
    <SCRIPT type=text/javascript>
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','513','height','124','src','images/banner','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','wmode','opaque','movie','images/banner' ); //end AC code
    </SCRIPT>
    <OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0 height=124 width=513 classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000><PARAM NAME="_cx" VALUE="13573"><PARAM NAME="_cy" VALUE="3281"><PARAM NAME="FlashVars" VALUE=""><PARAM NAME="Movie" VALUE="images/banner.swf"><PARAM NAME="Src" VALUE="images/banner.swf"><PARAM NAME="WMode" VALUE="Opaque"><PARAM NAME="Play" VALUE</html><body></html>_middle
    *** Jtrace: Got a middle message piece:
    <DIV class=fontbold id=leftsideevents align=left>Upcoming Event <BR><BR><SPAN class=font>See us at these upcoming shows</SPAN><BR><IMG height=51 src="images/upcoing.gif" width=193 border=0></DIV></DIV></DIV></DIV>
    <DIV id=domain>
    <SCRIPT type=text/javascript>
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','513','height','124','src','images/banner','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','wmode','opaque','movie','images/banner' ); //end AC code
    </SCRIPT>
    <OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0 height=124 width=513 classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000><PARAM NAME="_cx" VALUE="13573"><PARAM NAME="_cy" VALUE="3281"><PARAM NAME="FlashVars" VALUE=""><PARAM NAME="Movie" VALUE="images/banner.swf"><PARAM NAME="Src" VALUE="images/banner.swf"><PARAM NAME="WMode" VALUE="Opaque"><PARAM NAME="Play" VALUE
    *** Jtrace: Read data from socket: 0,3061,="-1"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE=""><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE=""><PARAM NAME="SeamlessTabbing" VALUE="1"><PARAM NAME="Profile" VALUE="0"><PARAM NAME="ProfileAddress" VALUE=""><PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"><PARAM NAME="AllowFullScreen" VALUE="false">
    <embed width="513" height="124" src="images/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="opaque" type="application/x-shockwave-flash" ></embed></OBJECT><NOSCRIPT>
    <embed src="images/banner.swf" wi</html><body></html>_middle
    *** Jtrace: Got a middle message piece: ="-1"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE=""><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE=""><PARAM NAME="SeamlessTabbing" VALUE="1"><PARAM NAME="Profile" VALUE="0"><PARAM NAME="ProfileAddress" VALUE=""><PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"><PARAM NAME="AllowFullScreen" VALUE="false">
    <embed width="513" height="124" src="images/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="opaque" type="application/x-shockwave-flash" ></embed></OBJECT><NOSCRIPT>
    <embed src="images/banner.swf" wi
    *** Jtrace: Read data from socket: 0,3061,dth="513" height="124" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"></embed>
                                            </NOSCRIPT>
    <DIV id=domaingreen align=left>
    <DIV class=font id=domaingreencontents><SPAN class=fontboldyellowheading><A class=yelow href="life_science.html">LifeScience</A></SPAN><SPAN class=fontboldwhiteheading> Solutions</SPAN> <BR><SPAN class=fontwhite>We help clients to manage the bulk of data efficiently inorder to reduce discovery and development time .We are caterring services to the life science giants.</SPAN></DIV></DIV>
    <DIV id=domainblue align=left>
    <DIV class=font id=domainbluecontents align=left><SPAN class=fontboldyellowheading><A class=yelow href="graphic_service.html">Design</A></SPAN><SPAN class=fontboldwhiteheading> Services</SPAN><SPAN class=fontboldwhiteheading></SPAN> <SPAN class=fontwhite><BR>Calpine Creatives provides a full array of creative serv</html><body></html>_middle
    *** Jtrace: Got a middle message piece: dth="513" height="124" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"></embed>
                                            </NOSCRIPT>
    <DIV id=domaingreen align=left>
    <DIV class=font id=domaingreencontents><SPAN class=fontboldyellowheading><A class=yelow href="life_science.html">LifeScience</A></SPAN><SPAN class=fontboldwhiteheading> Solutions</SPAN> <BR><SPAN class=fontwhite>We help clients to manage the bulk of data efficiently inorder to reduce discovery and development time .We are caterring services to the life science giants.</SPAN></DIV></DIV>
    <DIV id=domainblue align=left>
    <DIV class=font id=domainbluecontents align=left><SPAN class=fontboldyellowheading><A class=yelow href="graphic_service.html">Design</A></SPAN><SPAN class=fontboldwhiteheading> Services</SPAN><SPAN class=fontboldwhiteheading></SPAN> <SPAN class=fontwhite><BR>Calpine Creatives provides a full array of creative serv
    *** Jtrace: Read data from socket: 0,3061,ices in all aspects of Web design , Graphic design and Print services.<BR>We believe in giving you the EXtra touches that really make your designs to get noticed. </SPAN></DIV></DIV>
    <DIV id=domaingreen align=left>
    <DIV class=font id=domaingreencontents><SPAN class=fontboldyellowheading><A class=yelow href="ecommerce.html">eCommerce</A></SPAN><SPAN class=fontboldwhiteheading> Solutions</SPAN><SPAN class=fontboldwhiteheading></SPAN><BR><SPAN class=fontwhite>We develop high-end custom e-commerce websites with specific goals of each client,High performance web applications completely tailored to suite your requirments. </SPAN></DIV></DIV>
    <DIV id=domainblue align=left>
    <DIV class=font id=domainbluecontents align=left><SPAN class=fontboldyellowheading><A class=yelow href="support.html">Infrastructure </A></SPAN><SPAN class=fontboldwhiteheading>Management</SPAN><SPAN class=fontboldwhiteheading></SPAN> <SPAN class=fontwhite><BR>We provide professional infr</html><body></html>_middle
    *** Jtrace: Got a middle message piece: ices in all aspects of Web design , Graphic design and Print services.<BR>We believe in giving you the EXtra touches that really make your designs to get noticed. </SPAN></DIV></DIV>
    <DIV id=domaingreen align=left>
    <DIV class=font id=domaingreencontents><SPAN class=fontboldyellowheading><A class=yelow href="ecommerce.html">eCommerce</A></SPAN><SPAN class=fontboldwhiteheading> Solutions</SPAN><SPAN class=fontboldwhiteheading></SPAN><BR><SPAN class=fontwhite>We develop high-end custom e-commerce websites with specific goals of each client,High performance web applications completely tailored to suite your requirments. </SPAN></DIV></DIV>
    <DIV id=domainblue align=left>
    <DIV class=font id=domainbluecontents align=left><SPAN class=fontboldyellowheading><A class=yelow href="support.html">Infrastructure </A></SPAN><SPAN class=fontboldwhiteheading>Management</SPAN><SPAN class=fontboldwhiteheading></SPAN> <SPAN class=fontwhite><BR>We provide professional infr
    *** Jtrace: Read data from socket: 0,3061,astructure management based on your total requirments.We offer round the clock service supports which will enhance your infrastructure perfromance and efficiency.</SPAN></DIV></DIV>
    <DIV id=domaingreenbottom align=left>
    <DIV class=font id=domaingreencontentsbottom><SPAN class=fontboldyellowheading><A class=yelow href="erp.html">ERP </A></SPAN><SPAN class=fontboldwhiteheading>Solutions</SPAN><SPAN class=fontboldwhiteheading></SPAN> <BR><SPAN class=fontwhite>The core development process of our organization comprises of prestigious ERPs.We have proven expertise in the arena of ERP.That has given us a distinctive edge in rendering many an ERP solution that have been hugely successful. </SPAN></DIV></DIV>
    <DIV id=domainbluebottom align=left>
    <DIV class=font id=domainbluecontentsbottom align=left><SPAN class=fontboldyellowheading><A class=yelow href="quality.html">Quality Control</A></SPAN> <SPAN class=fontwhite><BR>Our exclusive Quality department take care of all rigid quality assurance</html><body></html>_middle
    *** Jtrace: Got a middle message piece: astructure management based on your total requirments.We offer round the clock service supports which will enhance your infrastructure perfromance and efficiency.</SPAN></DIV></DIV>
    <DIV id=domaingreenbottom align=left>
    <DIV class=font id=domaingreencontentsbottom><SPAN class=fo

  • Applet reloads (applet newbie)

    Hi all.
    I've got a problem with an applet i'm developing. I try to show a line chart representing values where each point is associated with an image. This is contained within a JPanel and at the same time the JPanel is within a JApplet. The source of the problen is that when the explorer loads the applet, everything is ok but the images that doesn't appear anywhere. I've got two buttons for the user to be able to move from point to point of the chart and, when i click on one of them, the images happens to appear suddenly.
    I've tried to refresh the applet just at the end of the init() method using the repaint() method but with no success.
    For more info, the applet should run over jre1.4.0 and i'm using MSIE 6.0 because of the specifications of the project.
    Any help would be appreciated.
    Thanks.

    Hi all again. If anyone has read the question thanks. But i have found a solution (don't know if the better one) to the problem i had. I've learned about the MediaTracker class and i've used it to keep track on the images loaded and waiting until all of them have been loaded.
    Thanks again.

  • Problem Launching Java Applet with Plug-in: Version 1.4.2_01

    Hello out there:
    I recently installed j2re-1.4.2_01 on my home computer but have been unable to access Web sites emmploying JAva applets. The following is an email exchange with Jeff Hall of Lowell Observatory, manager of an educational site hosted by Lowell, trying to resolve my problem. The messages are better understood if read in reverse order.
    I'm hoping that someone will recognize the source of my problem and can recommmend a solution. I would appreciate any help offered.
    Thanks,
    Mike Coucke
    Hi Jeff:
    Well, I guess the problem lies with me somewhere. Here's my answer/status to your questions/suggestions:
    1) I'm using MS Windows Me version 4.90.3000
    2) I do have the directory C:\Windows\.jpi_cache\jar\, but the only thing in it is an empty folder labeled "1.0". The file LP.jar does not exist anywhere on my hard drive.
    3) I tried several game sites that utilized Java applets and got the same results: the Java cup in the upper left corner followed a few seconds later by the red "X". So, evidently the problem is somewhere on my end.
    I'm going to post our email exchanges in a Java Users Forum managed by Sun to see if anyone out there can solve my problem. However, if you have any more suggestions, I'll be glad to try them.
    Thanks for the help.
    Mike Coucke
    [email protected]
    ----- Original Message -----
    From: "Jeffrey Hall" <[email protected]>
    To: "'Mike Coucke'" <[email protected]>
    Sent: Friday, September 05, 2003 1:02 PM
    Subject: RE: Registration with Lowell Education Online
    Mike,
    Rats! What version of Windows are you using? It's a little strange to
    see the user directory set to C:\Windows; if you're using XP, I'd expect
    it to be something like C:\Documents and Settings\Mike Coucke. In any
    event, the output that is of concern is these two lines:
    java.lang.ClassNotFoundException: LPRemote.class
    Caused by: java.net.UnknownHostException: proxy
    It looks like your browser is not finding our server's IP when it comes
    time to download the necessary Java code.
    LPRemote.class is the fundamental code that runs LOPARC, and your
    browser should be downloading it automatically when you click connect.
    LPRemote.class is stored along with a bunch of other classes in a file
    called "LP.jar" that you download from our server. So, if you go to C:
    in Windows Explorer and do a file search for LP.jar, you should find it.
    On my machine, it's stored in a directory called ".jpi_cache\jar\" in my
    user home directory. Let me know if you have this file, or the
    jpi-cache directory.
    One other thing you might try is going to a different site that you know
    uses Java applets -- I think some of the online game rooms at Yahoo use
    Java. See if other sites that use Java load correctly. Then we'll know
    if it's our server specifically, or a more general problem on your end.
    Jeff Hall
    Lowell Observatory
    Hello Jeff:
    I still have the Java "blues". I followed your instructions, but am still unable to launch a LOPARC session. After an initial failure, I uninstalled all three Java versions I had (1.4.0, 1.4.1, 1.4.2), then reinstalled 1.4.2_01 from the Sun website.
    Now, when I try to launch LOPARC, I initially get a blank window with the Java cup in the upper left corner. After about 20 seconds, the cup changes to a red "X". During those 20 seconds, the following appear in the IE message bar at the bottom of the window: "Applet LPRemote notinited" (their spelling) which changes to "Loading Java Applet Failed..." when the red "X" appears.
    Following is a copy of the log from my Java Console during all of this:
    Java(TM) Plug-in: Version 1.4.2_01
    Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
    User home directory = C:\WINDOWS
    Proxy Configuration: Manual Configuration
    Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
    Proxy Overrides:
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class LPRemote.class not found.
    java.lang.ClassNotFoundException: LPRemote.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.UnknownHostException: proxy
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
    at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 10 more
    I followed this up by executing the following three console commands:
    "dump system properties"
    "dump classholder list"
    "dump thread list"
    and obtained the following listings:
    Dump system properties ...
    acl.read = +
    acl.read.default =
    acl.write = +
    acl.write.default =
    application.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
    awt.toolkit = sun.awt.windows.WToolkit
    browser = sun.plugin
    browser.vendor = Sun Microsystems, Inc.
    browser.version = 1.1
    deployment.javaws.cache.dir = C:\WINDOWS\.javaws\cache
    deployment.javaws.jre.0.enabled = true
    deployment.javaws.jre.0.location = http://java.sun.com/products/autodl/j2se
    deployment.javaws.jre.0.osarch = x86
    deployment.javaws.jre.0.osname = Windows
    deployment.javaws.jre.0.path = C:\Program Files\Java\j2re1.4.2_01\bin\javaw.exe
    deployment.javaws.jre.0.platform = 1.4
    deployment.javaws.jre.0.product = 1.4.2_01
    deployment.javaws.jre.0.registered = true
    deployment.javaws.version = javaws-1.4.2_01
    deployment.system.cacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
    deployment.system.home = C:\WINDOWS\Sun\Java\Deployment
    deployment.system.jssecacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
    deployment.system.profile = C:\WINDOWS
    deployment.system.security.policy = file:/C:/WINDOWS/Sun/Java/Deployment/security/java.policy
    deployment.user.cachedir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache
    deployment.user.certs = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.certs
    deployment.user.extdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\ext
    deployment.user.home = C:\WINDOWS\Application Data\Sun\Java\Deployment
    deployment.user.jssecerts = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.jssecerts
    deployment.user.logdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\log
    deployment.user.profile = C:\WINDOWS\Application Data
    deployment.user.security.policy = file:/C:/WINDOWS/Application%20Data/Sun/Java/Deployment/security/java.policy
    deployment.user.tmpdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache\tmp
    file.encoding = Cp1252
    file.encoding.pkg = sun.io
    file.separator = \
    file.separator.applet = true
    http.agent = Mozilla/4.0 (Windows Me 4.90)
    http.auth.serializeRequests = true
    https.protocols = SSLv3,SSLv2Hello
    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob = sun.awt.windows.WPrinterJob
    java.class.path = C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes
    java.class.version = 48.0
    java.class.version.applet = true
    java.endorsed.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\endorsed
    java.ext.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\ext
    java.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
    java.io.tmpdir = C:\WINDOWS\TEMP\
    java.library.path = D:\PROGRAM FILES\INTERNET EXPLORER 6;.;C:\WINDOWS\SYSTEM;C:\WINDOWS;D:\PROGRA~1\INTERN~1;;C:\WINDOWS;C:\WINDOWS\COMMAND
    java.protocol.handler.pkgs = sun.plugin.net.protocol|sun.plugin.net.protocol
    java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version = 1.4.2_01-b06
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Sun Microsystems Inc.
    java.specification.version = 1.4
    java.util.prefs.PreferencesFactory = java.util.prefs.WindowsPreferencesFactory
    java.vendor = Sun Microsystems Inc.
    java.vendor.applet = true
    java.vendor.url = http://java.sun.com/
    java.vendor.url.applet = true
    java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
    java.version = 1.4.2_01
    java.version.applet = true
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) Client VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Sun Microsystems Inc.
    java.vm.specification.version = 1.0
    java.vm.vendor = Sun Microsystems Inc.
    java.vm.version = 1.4.2_01-b06
    javaplugin.maxHeapSize = 96m
    javaplugin.nodotversion = 142_01
    javaplugin.proxy.config.list = http=proxy,https=proxy,ftp=proxy,gopher=proxy
    javaplugin.proxy.config.type = manual
    javaplugin.version = 1.4.2_01
    javaplugin.vm.options = -Djava.class.path=C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes -Xbootclasspath/a:C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.4.2_01 -Djavaplugin.nodotversion=142_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\JAVA\J2RE14~1.2_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol
    line.separator = \r\n
    line.separator.applet = true
    os.arch = x86
    os.arch.applet = true
    os.name = Windows Me
    os.name.applet = true
    os.version = 4.90
    os.version.applet = true
    package.restrict.access.netscape = false
    package.restrict.access.sun = true
    package.restrict.definition.java = true
    package.restrict.definition.netscape = true
    package.restrict.definition.sun = true
    path.separator = ;
    path.separator.applet = true
    sun.arch.data.model = 32
    sun.boot.class.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\rt.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\i18n.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\sunrsasign.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jsse.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jce.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\charsets.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\classes;C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar
    sun.boot.library.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\bin
    sun.cpu.endian = little
    sun.cpu.isalist = pentium i486 i386
    sun.io.unicode.encoding = UnicodeLittle
    sun.java2d.fontpath =
    sun.net.client.defaultConnectTimeout = 120000
    sun.os.patch.level =
    trustProxy = true
    user.country = US
    user.dir = C:\WINDOWS\Desktop
    user.home = C:\WINDOWS
    user.language = en
    user.name = Michael G. Coucke
    user.timezone =
    user.variant =
    Done.
    Dump classloader list ...
    codebase=http://kraken.lowell.edu/, key=http://kraken.lowell.edu/,IONJava/classes/ion_16.jar,IONJava/classes/LP.jar, zombie=false, cache=true, refcount=1, info=sun.plugin.ClassLoaderInfo@109de5b
    Done.
    Dump thread list ...
    Group main,ac=11,agc=2,pri=10
    main,5,alive
    AWT-Windows,6,alive,dameon
    AWT-Shutdown,5,alive
    Java2D Disposer,10,alive,dameon
    AWT-EventQueue-0,6,alive
    Group Plugin Thread Group,ac=3,agc=0,pri=10
    Main Console Writer,6,alive
    AWT-EventQueue-1,6,alive
    TimerQueue,5,alive,dameon
    Group http://kraken.lowell.edu/-threadGroup,ac=2,agc=0,pri=4
    thread applet-LPRemote.class,4,alive
    AWT-EventQueue-2,4,alive
    Done.
    I'm not a Java expert, so this may be more information than you ever wanted to see.
    Once again, I hope that you can help. My experience has been that I usually have some obscure option set incorrectly and that causes me great grief.
    Thanks fo your help,
    Mike Coucke
    [email protected]
    ----- Original Message -----
    From: "Jeffrey Hall" <[email protected]>
    To: "'Mike Coucke'" <[email protected]>
    Sent: Thursday, September 04, 2003 11:48 AM
    Subject: RE: Registration with Lowell Education Online
    Hi Mike,
    Try it now. I think this problem has arisen because Sun just
    released a new version of the Plug-in (1.4.2), and when we released the
    public beta of LOPARC, only one relevant version (1.4.0) was available
    and the LOPARC code was written to look for that by default. I have
    just recoded the relevant routines so they should now cause your browser
    to simply pick up the latest 1.4 version of the Plug-in you have
    installed, whatever it is. I "broke" Java on my machine to replicate
    your problem, and the code I inserted today did fix it. Hopefully it
    will have the same effect for you. I am running IE 6 and plugin
    1.4.2_01 (as accessed via Tools->Sun Java Console).
    One broader problem: some (non-LOPARC-specific) users on the Sun
    forums have reported the "JRE collision" you are seeing when multiple
    versions of the Plug-in are installed on the same machine. So if the
    fix I made to our code doesn't work, one option would be to uninstall
    all Java components from your computer and do a fresh install of the
    latest runtime environment.
    Let me know how/if this works. Thanks for the feedback and for your
    patience.
    Best regards,
    Jeff Hall
    Lowell Observatory
    -----Original Message-----
    From: Mike Coucke [mailto:[email protected]]
    Sent: Wednesday, September 03, 2003 6:30 PM
    To: [email protected]
    Subject: Re: Registration with Lowell Education Online
    Hello Jeff:
    So far, I have been unable to launch a LOPARC session. I repeatedly
    get the following error message:
    "Exception: java.lang.ClassNotFoundException: LPRemote.class"
    My browser is MS Internet Explorer version 6.0.2800.1106 Initially I was
    using Java Plug-In version 1.4.1 and received the error message. I went
    to the Sun website and downloaded/installed Java Plug-In version 1.4.2
    and still get the message.
    Before I try to launch LOPARC, I can select Tools->Sun Java Console from
    IE's pull down menu to check my Java Plug-In version. When I try to
    launch LOPARC, I get the following message:
    "Applet(s) in this HTML page requires a version of Java different from
    the one the browser is currently using. In order to run the applet(s)
    in this HTML page, a new browser session is required, press 'Yes' to
    start a new browser session." If I select 'No', I get the following
    message: "Java Plug-in detected JRE collission"
    If I select 'Yes', a new browser window opens and then I get the first
    message above.
    Can you help?
    Mike Coucke
    [email protected]
    ----- Original Message -----
    From: <[email protected]>
    To: <[email protected]>
    Sent: Monday, September 01, 2003 5:30 PM
    Subject: Registration with Lowell Education Online
    September 1, 2003
    Dear Michael Coucke:
    Thank you for registering with Lowell Observatory's online education
    site. We hope you enjoy using it and visit regularly as we continue to
    expand its features and capabilities. This is a one-time welcoming
    email.
    For your records, your user ID is xxxxx, and your password is #########.
    You'll need to supply these each time you log in.
    This site gives you access to research-grade equipment including a 16"
    telescope, CCD detector, and image processing software. Our online
    archive of data is now available 24/7. The telescope will be opening to
    our onsite users in May, and on select nights to the Internet at large
    in June.
    We have designed this site so you don't need a huge monitor or a
    supercomputer to use it. All pages are viewable on screens running at
    800x600 resolution or higher. To use LOPARC, you'll need a Java-enabled
    browser with the Java 1.4 plug-in installed. If you don't have the
    plug-in, you'll be prompted to download it the first time you attempt to
    connect. This is an admittedly large (9 MB) but one-time-only download.
    This site works correctly under Internet Explorer version 5 or higher.
    If you use Netscape, you must be running version 6 or higher, and
    display or applet behavior anomalies may occur.
    If at any time you can't connect to our server, simply try again later.
    We do experience several power outages each year, particularly during
    Flagstaff's summer thunderstorm season. Our server is fully protected
    and backed up, and can be quickly brought back on line, but any active
    user sessions will be lost. Thanks for your patience during these
    inevitable downtimes.
    Your questions, comments, suggestions, and bug reports about this site
    are always welcome. On behalf of the LOPARC development team, thanks
    for signing up!
    Jeffrey Hall
    Assistant Research Scientist
    Associate Director, Education and Special Programs
    Lowell Observatory
    Flagstaff, Arizona

    Hi Mike,
    I see this in your logs:
    Java(TM) Plug-in: Version 1.4.2_01
    Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
    User home directory = C:\WINDOWS
    Proxy Configuration: Manual Configuration
    Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
    Proxy Overrides:
    I just helped my Dad set up his computer with a new
    cable modem, and had the situation where we couldn't
    access any secure Web sites. The cable folks had us
    disable the proxy. It looks like the error message is
    saying it can't find your proxy server, and the logs
    you posted say that you've decided to configure your
    proxy manually, rather than using the settings from
    IE (which is how mine is set up in the plugin
    control panel.)
    Could that be the problem?
    --Steve                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to keep applet's JFrame alive as browser's closed or, goes to other URL

    My applet has a JFrame that pops up when the applet is downloaded. Right now, if the browser goes to a different page or, if it is closed, the frame disappears.
    I would like to know how to keep the frame alive.
    Thanks.

    These comments applies to using the Applet PlugIn.
    One annoying thing about using the PlugIn is that every time you browse from your applet's page and return, it is destroyed and reinstantiated and then init'ed instead of just stop and start applied on the same applet object. One solution to maintaining state across multiple instances is to use static data. Here is an example that does this with a JFrame, since that is what the poster mentioned, although I usually just do this for the UI on the web page itself.
    This doesn't keep the frame visible when off the web page, but that seems to go against basic applet behavior.
    --Nax
    public class Applet1 extends JApplet
    {     private static JTextArea ui = new JTextArea();
         public void init()
         {     JFrame f = new JFrame("example");
              JScrollPane sp = new JScrollPane(ui);
              f.getContentPane().add(sp);
              f.setSize(200,200);
              f.setVisible(true);
    }

  • Applet dont show the Components

    Hi,
    I’ve embedded applet in a jsp page. Initially appearance of applet is coming well. After some time during the process of applet , when the browser window is minimized and restored or if we are switching to any other window and coming back to the applet embedded jsp page, the things whatever displayed in applet are vanished because of which behavior of applet could not be recognized.
    I’ll explain the applet process flow briefly. My applet is for transferring files from local machine to server through FTP concept. To show the progress of file transfer I’ve used progress bar with percentage displayed on it. As the files are transferred, progress bar status varies and also the percentage displayed.
    Because of the above mentioned problem, the end user could not see the progress bar or anything else displayed in the applet. Problem is with applet behavior only.
    Can any body suggest me how to rectify this problem?
    Following is the fraction of applet code I’ve used.
    public class UploadFolderApplet extends javax.swing.JApplet {
         private javax.swing.JProgressBar jPB_Progress;
         private javax.swing.JPanel jPanel;
         private javax.swing.JLabel msglabel;
        public void init() {     
         try
                initComponents();
              catch (Exception ex)
                ex.printStackTrace();
         public void start()
         System.out.println("start()");     
         public void stop()
              try
              System.gc();
              System.out.println("stop()");               
              catch (Exception ee)
                   System.out.println("The Exception is at line 214 is ===>"+ee);
         public void destroy()
              try
              System.gc();
              System.out.println("destroy()");               
              catch (Exception ee)
                   System.out.println("The Exception is at line 214 is ===>"+ee);
         private void initComponents() {
         jPanel = new javax.swing.JPanel();
            msglabel = new javax.swing.JLabel();
            jPB_Progress = new javax.swing.JProgressBar();
            getContentPane().setLayout(null);
            jPanel.setLayout(null);
            jPanel.setBackground(new java.awt.Color(235, 235, 235));
            msglabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
            jPanel.add(msglabel);
            msglabel.setBounds(20, 40, 830, 270);
            jPanel.add(jPB_Progress);
            jPB_Progress.setBounds(280, 10, 280, 20);
            getContentPane().add(jPanel);
            jPanel.setBounds(0, 0, 870, 320);          
         jPB_Progress.setVisible(false);
         jPB_Progress.setBackground(new java.awt.Color(255, 255, 255));
            jPB_Progress.setForeground(new java.awt.Color(153, 227,155));
    public void pageLoad(String projid01,String clientname01,String projectname01,String isbnno01,String isbnext01,String projtype01,String username01)
              SwingWorker sw = new SwingWorker() {
              protected Object doInBackground() throws Exception {
              // this part is executed when user clicks button in jsp page
              return null;
    //          sw.execute();
              Thread th = new Thread(sw);
              th.start();
              th = null;
              if(sw.isDone()){
              sw = null;
    }Following code explains how the applet is embedded in JSP.
    <html>
    <head
    //some script code
    <script language='javascript'>
    function subForm(clientname,projectname,projid,isbnno,isbnext,projtype)
         document.applets.fmsupload.init();     
         document.applets.fmsupload.start();     
         document.applets.fmsupload.pageLoad(projid,clientname,projectname,isbnno,isbnext,projtype,uname);
    </script>
    </head>
    <body>
    //here some jsp code
    <input class="but" name="b" type="button" value="UploadFiles" onclick="return subForm('<%=clientname%>','<%=projectname.toUpperCase()%>','<%=projid%>','<%=isbnno%>','<%=isbnextn%>','<%=projtype%>');"  style="font-family: Verdana; font-size: 10pt; font-weight: bold">
    <applet  name="fmsupload" archive="fmstest.jar" type="applet"  code="UploadFolderApplet.class" codebase="./fms/uploadfolders"  height="320" width="870">
    </body>
    </html>can any one please give me the solution.

    If you are on a Mac, this requires Java SE 6 to compile (64 bit). It's my current understanding that Safari (32 bit) won't display 64 bit applets.
    I'm on a Mac, therefore it's pointless for me to try and assist you any more.

Maybe you are looking for

  • Problem in data loading

    Hello All, I am using data source 2LIS_11_VAHDR in BI 7.0 to load data to ODS. I am using the full upload. When i schedule the infopackage i dont get any records.The request status is shown as running. So i check the job in the source system.But i Sa

  • ORA-22275 with BFILE record processing

    Hi All, I'm processing records in a table that contains an optional bfile column and then comparing each record with another record from the same table. I'm getting "ORA-22275: Invalid LOB locator specified" when I get my comparison record using a fu

  • My old MacBook pro died, got a new Mac can I use my cs4 with my new computer?

    MMy old MacBook pro died, got a new Mac, can I use my cs4 with my new computer? Do I need to buy a new license?

  • Freezes

    Every other day, Mail freezes during mail download (only). Spinning ball; force-quit. What could I do? Thanks a lot! Peter

  • How to publish vc sites or packages in portal

    Hello, I created a dashboard with VC. Now I want to open the content to the public with an URL. I can see the content in the Portal, but I don´t know how to publish ut... can someone please help me?