Re: Applet loading

Hi
I have added an applet to the jsp. When I ran the applet, It loaded up for the first time. But when I ran it the second time, the applet shows up but the contents aren't being painted. I have attached the applet files but avoided posting the whole project.
I have a stand alone application that I want to implement in the applet. I have the same code running in a frame where it runs fine. Could some one help me out in understanding why it doesn't work. The empty methods are yet to be implemented. They are required for my application to run.
package aple;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;
import java.awt.geom.AffineTransform;
import javax.swing.JApplet;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
public class NewJApplet extends JApplet implements MouseListener,
        MouseMotionListener,MouseWheelListener{
    public Graphics2D g2;
    AffineTransform atf = new AffineTransform();
    sketch sk = new sketch();
    //JPanel jp = new JPanel();
    JMenuBar menuBar = new JMenuBar();
    JMenu jm = new JMenu("file");
    JMenu edit = new JMenu("edit");
    JMenuItem mi = new JMenuItem("asdf");
    @Override
    public void init() {
        //this.add(sk);
        getContentPane().setBackground(Color.BLACK);       
        jm.add(mi);
        menuBar.add(jm);
        menuBar.add(edit);
        this.setJMenuBar(menuBar);                 
        addMouseListener(this);
        addMouseMotionListener(this);
        addMouseWheelListener(this);
    @Override
    public void paint(Graphics g){
        int n = 0;
        g2 = (Graphics2D)g;
        AffineTransform ati = new AffineTransform();
        //Affine transform is translated
        ati= AffineTransform.getTranslateInstance(this.getWidth()/2, this.getHeight()/2);
        Axis2d xAxis = new Axis2d(g2,40,this.getHeight()/2,this.getWidth()-40,this.getHeight()/2,atf);
        Axis2d yAxis = new Axis2d(g2,this.getWidth()/2,40,this.getWidth()/2,this.getHeight()-40,atf);
    public void mouseClicked(MouseEvent e) {
    public void mousePressed(MouseEvent e) {
    public void mouseReleased(MouseEvent e) {
    public void mouseEntered(MouseEvent e) {
    public void mouseExited(MouseEvent e) {
    public void mouseDragged(MouseEvent e) {
    public void mouseMoved(MouseEvent e) {
    public void mouseWheelMoved(MouseWheelEvent e) {
    // TODO overwrite start(), stop() and destroy() methods
}Axis2d Class
package aple;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Shape;
import java.awt.geom.AffineTransform;
import java.awt.geom.Line2D;
import java.awt.geom.Path2D;
public class Axis2d {
    public Axis2d(Graphics2D g2, int x0, int y0, int x1, int y1, AffineTransform atf) {
    g2.setColor(Color.WHITE);    
    float[] dashPattern = { 10,4,10,4};
    g2.setStroke(new BasicStroke(1, BasicStroke.CAP_ROUND,
                                  BasicStroke.JOIN_MITER, 10,
                                  dashPattern, 0));
    Line2D.Double line = new Line2D.Double((double)x0,(double)y0,(double)x1,(double)y1);
    Shape transformedLine = new Path2D.Double(line, atf);
    g2.draw(transformedLine);   
     g2.setStroke(new BasicStroke(1));
}

Hi
If any one was working on the problem, I found that I haven't called the repaint method any where. The contents I included in the applet code are being added to the frame, only that I wasn't able to see them cause they were not painted. Once I press the menu (click just below the Applet menubar) the whole thing gets painted and I am able to see the contents.
bye

Similar Messages

  • Multiple instances of the same applet loaded causes problem

    I have a java applet that has several classes in the project. The applet has a JTable a JButton and a JLabel control. The applet is displayed within an HTML page. The problem is that if a user opens the same html page more than once with the applet in it, only the last applet loaded receives the screen updates.
    For example in one senario. I have an error message that displays in the Label control once they click on the button.
    The user opens the html page and the applet is loaded (window 1). The user then opens the same html page again (window 2) with window 1 still open. If the user clicks on the Button in window 1, the error message is displayed in the window 2 applet.
    Originally I had some static variables. Thinking it was being used globally by the JVM so I removed all of them and it still happens. I have tried using both the Applet and Object tag. But it still happens.
    Has anyone experienced this before? Any suggestions on how to make the applet update the instance that recieved the events and not just the last one that was loaded?

    You need to look at applet classloader issues. If applets have the same archive list and come from the same codebase, they have the same classloader. A class is namespaced by it's class + classloader. Any statics in a class with a classloader will be shared. If you instead make it such that your applets have unique classloaders (which you can't change for unsigned applets by yourself) by changing the codebase, that would be one solution.
    For other solutions, I recommend searching the forum. This issue comes up a lot.

  • Java applet loading for a long time.

    If you go here (warning - long load to start with) -
    www.aclwebsite.co.uk
    I have placed a newsticker java applet there but when you first visit the site the browser freezes up for a while untill the applet loads.
    Any idea on whats causing this to load so much?
    Thanks.

    If you go here (warning - long load to start with) -
    www.aclwebsite.co.uk
    I have placed a newsticker java applet there but when
    you first visit the site the browser freezes up for a
    while untill the applet loads.
    Any idea on whats causing this to load so much?
    Thanks.A long-running init() or start() method of the applet. I guess you better do something about your own code then.

  • Java 1.5_13 applet loading problem due to 'activate control' fix

    I updated my JRE to Java 1.5 revision 13, and it seems to introduce a new problem. In order to fix the "click here to activate this control" problem in internet explorer, I iterate the document model and set the outerHTML of the applet tag to the same outerHTML. This removes the annoying rectangle in IE. This also causes the applet to load and break down the first time the page is displayed, because IE removes the old applet instance and creates a new one when replacing the outerHTML. When this happens on the new Java JRE release, an exception is thrown to the user saying:
    java.lang.NullPointerException
         at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    The applet loads correctly, but the message should not be displayed. Also, it only seems to happen sometimes (maybee because sometimes the applet does not yet start before IE runs the script to replace its contents)
    Full lifecyle from the console panel:
    basic: Registered modality listener
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@181fbd6, refcount=5
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@982291
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: Unregistered modality listener
    basic: Stopping applet ...
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@982291
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@181fbd6, refcount=4
    basic: Done ...
    basic: Joining applet thread ...
    basic: Destroying applet ...
    basic: Disposing applet ...
    java.lang.NullPointerException
         at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.lang.NullPointerException
    java.lang.NullPointerException
         at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Joined applet thread ...
    basic: Unregistered modality listener
    basic: Quiting applet ...
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@181fbd6, refcount=5
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1347dad
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    Does anyone know how to fix this new issue? Or does anyone know of a better way to solve the 'activate control' problem in IE that does not cause the reloading of this applet?
    Thanks.

    Hi!
    *1 -* Poor_Sitar_player's solution that i used.
    a - Build the applet's comented code into a div ...
    </div id='555>
    <!--
    <body>
    <applet name="EditoRTFa.class" id='editor' archive="../pages/expediente/Modelo/Editor/EditoRTFa.jar"
    code="br.gov.pa.tj.processo.expediente.casos.editor.EditoRTFa.class" width="750" height="550">
    </applet>
    <body>
    -->
    </div>
    b - After, insert a javascript the will remove the coments....
    <script type="text/javascript">
    var x = document.getElementById('555');
    var texto = x.innerHTML;
    texto = texto.replace('<!--','').replace('-->','');
    x.innerHTML = texto;
    <script type="text/javascript">
    *2 - Another solution*
    If you are using struts2 or your applet is inside a internal frame, is possible that the above solution will not work.
    So, the solution that i found was place the applet code in the main page, with width and heigh iguals "*0*" and style="float: left;" to hide the applet.
    This way, the applet will be load before you call the right page.
    That's all.
    Edited by: carlosmcp on Oct 14, 2008 7:01 AM

  • How to make an applet load user-defined package?

    How to have an applet load user-defined package?
    I have packages in their own directories, and the applet compiles and links with them, by use of CLASSPATH env variable. But when it comes time to run, it ignores that and does not know where the classes (in the packages) are.
    If I don't use packages and put all code in one directory, runs fine. If I use an application, I can link with and load my packages.
    I know applets can't use things like CLASSPATH for security reasons, but still, they should be able to be compiled out of several packages, why do I have to put all code together??

    OK, for reference for future newbies, here's the answer:
    use CODEBASE attribute in your html file (if on Windows server, don't use drive letter but relative path to .html file, Unix style, and put all your .class files beneath that, for example, in your .html file
    <applet
    CODEBASE="..\class
    and then have package bar Bar.class file, in ..\class\bar

  • What mean applet load from file system.. till now i load by browser (is

    just i heard about applet load in two way
    1) from net (this is throw html )
    2) from local file system. (What is this )
    plszz

    from local file system. (What is this )When the html file and the applet is on your harddisk and you open the html file in a browser.

  • Removing gray crappy ugly Applet loader background

    excuse my language but I've spent the last two days tring to figure out how to remove the gray screen when the applet loads in a browser...
    I've searched the forums, found other ppl with same problem but no real solutions...
    from what I found:
    1. using javascript to hide the applet while its loading
    works for IE but not for Netscape 6( http://www.codeproject.com/java/javaappletwaitmsg.asp )
    2. using an applet to load the real applet
    seems ok, but you still see the gray screen when the first applet loads... basically this just shortens the time you get to see the gray screen, not a proper solution( http://www.acm.vt.edu/~jmaxwell/appletloader/appletloader.html )
    So should I assume there is no way to tell the java plug-in not to make the screen gray while its loading the applet??????
    WHY? WHY? WHY?
    is there really no way of changing this horrible GRAY screen???
    please if anybody found out how to solve this, post it here!

    2 main reasons why the gray panel stays for a long time..
    1, the JVM is loaded, the applet is now visible but due to lots of late binding and other startup stuff, the Applet itself takes a long time to load.
    Solution, in a previous page, load a dummy applet that does basically nothing and make it 1x1 pixels in width and height. This cuts down on the JVM start up.
    2, Your Applet causes classes to load from the Web Server (of course).
    Solution in 2 parts:
    Part 1, make sure that all your applet classes are jar'ed with compression on and that your applet code has debug code off and no optimisation used when compiling. This ensures the smallest code size other than that produced an obfuscator.
    Part 2, Your applet should be doing 2 things. Firstly, it should be attempting to turn its background to the chosen colour as soon as possible. It should be doing nothing else at all, not even creating other classes, loading classes nothing at all. Secondly, when the Applets background colour is set, then you can start loading classes that do the work your Applet is supposed to do. When that is all over, you can that start to modify the Applet's panel

  • Applet loading in IE vs Firefox

    Hello!
    I have a peculiar problem. I have several web pages containing lots of applets which via static methods register to a "master" applet which in turn collects information from a remote source and then updates the registered applets periodically.
    Well this works fine, however the load times in IE are outrageous, it can take up to 2 minutes or so before a page with approxiamtely 20 applets is fully loaded. Whilst the same page takes about 2 seconds in firefox. I should also mention that when the page has been loaded in IE it works just as well as it does in firefox. The only problem is that it takes all to long for the page to load.
    What could be the explanation of this? What is the fundamental difference in IE compared to firefox when applets are loaded?
    Does anyone have some sort of clue about this one?
    /HG

    cell@tech wrote:
    When I navigate to the site in IE and click on the link the applet loads, but when I navigate to the site in FireFox3 it displays the html code. My FireFox browser runs applets just fine on other sites, so is there something else I need to put in the html code for FF3?Works fine with FF2.
    Try to add a BODY to your HTML.
    <html>
    <body>
    <applet height="600" width="600" code="com.program.startup.Starter.class">
    <param name=archive value=http://www.wheeling22.adventistchurchconnect.org/site/1/directory/WheelingWebSite.jar /> Your browser does not support the <code>applet</code> tag. </applet>
    </body>
    </html>Bye.
    RG.

  • Unsigned applet load failure via HTTPS

    Java Plug-in 1.5.0_06
    MSIE 6.0
    Unsigned applet loading via HTTPS failed.
    We used a relative URL in an APPLET tag :
    <APPLET CODEBASE="/TEST/" ARCHIVE="test.jar" CODE="nl.myorganisation.test">
    The plugin does not seem to reuse the browser SSL-session.
    It looks like the plugin does not find installed certificates in Explorer stores.
    The 2th and 3th connection retry use an erroneous URL.
    network: Connecting https://myorganisation.nl/TEST/test.jar with proxy=DIRECT
    security: Loading Root CA certificates from <jre-home>\lib\security\cacerts
    security: Loaded Root CA certificates from <jre-home>\lib\security\cacerts
    security: Loading SSL Root CA certificates from <jre-home>\lib\security\cacerts
    security: Loaded SSL Root CA certificates from <jre-home>\lib\security\cacerts
    security: Loading Deployment SSL certificates from <user-home>\Data\Sun\Java\Deployment\security\trusted.jssecerts
    security: Loaded Deployment SSL certificates from <user-home>\Data\Sun\Java\Deployment\security\trusted.jssecerts
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Internet Explorer ROOT certificate store
    security: Loaded certificates from Internet Explorer ROOT certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    network: Connecting https://myorganisation.nl/CGI-BIN/nl/myorganisation/test.class with proxy=DIRECT
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    network: Connecting https://myorganisation.nl/CGI-BIN/nl/myorganisation/test.class with proxy=DIRECT
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    load: class nl.myorganisation.test not found.
    Does anybody have any suggestion ?
    Thanks and greetings,
    Marc

    First, Java plugin don't use browser https connection starting JRE 1.4, for running an applet in https server, the browser need to establish a https connection first, then Java pugin will use another https connection.
    Second, Java plugin can read certificate from browser, starting JRE 1.5, you can go to Java control panel, Advanced tab, under security, check on the box:
    "Use certificate and keys in browser keystore"
    This way the Java plugin will read the certificate from browser too. (It will work automatically in IE browser, if you use Mozilla, you have to install JSS package first).
    To answer your question, you can either turn on that option or import https certificate into JRE keystore (using Java control panel) for https connection.
    Hope that answered your question.
    Dennis

  • Applet loads full jar instead one resource

    Hi,
    i noticed that applet load full jar file instead loading one image!
    i load images with:
    InputStream in = this.getClass().getResourceAsStream(kaynakAdresi);how can i fix this?

    This will happen if the Jar is not being properly cached. Check your settings for the Plug-In and the browser; also check the headers are being sent correctly from the web server - if the expiry time etc are missing then the browser will not cache the file. Look up an HTTP sniffer if you need to trace the headers.,

  • Strange (for me) applet loading error.

    I�m developing an applet on an embedded server and I have been experienced the following error. When I load it from a 100 mbits LAN the applet loads and works well.
    But, If I try to open it through 10mBits switch, the applet refuses to work and a lot class of class not found errors appears. (The same from a location outside my LAN)
    Can it be a speed related problem?
    here is a copy of my htm (myClass is stored inside cab3.cab)
    <HTML>
    <HEAD>
    </HEAD>
    <BODY BGCOLOR="FFFF82">
    <CENTER>
    <APPLET
         codebase = "."
         archive = "cab2.cab, cab3.cab, cab4.cab, cab5.cab"
         code = "myClass.class"
         width = "760"
         height     = "420"
         >
    </APPLET>
    </CENTER>
    </BODY>
    </HTML>
    Thanks in advance.

    A Full trace might help us out:
    http://forum.java.sun.com/thread.jspa?threadID=656028

  • Java Applet Load Issues

    For some applets, well, nothing happens. Im not sure what the problem is, but certain applets load, and other applets just make a gray frame and generate an error. Even my own applets I compile dont run. Everything works properly on my applets, because I can run them in the appletviewer, just not in the browser (which is kinda essential for running other peoples applets on the web, ya know). Odd thing is I can run them on my other comp, and practically the only difference is that it doesnt have the SDK on it.
    Computer specs are: WinME with JDK and JRE v 1.4.1_01, and the JVM on it.
    An excerpt of the error it generates every time a problematic applet is run (from my javalog.txt file):
    Error loading class: <AppletName>
    java.lang.NoClassDefFoundError
    java.lang.ClassNotFoundException: <AppletName>
         at com/ms/vm/loader/URLClassLoader.loadClass
         at com/ms/vm/loader/URLClassLoader.loadClass
         at com/ms/applet/AppletPanel.securedClassLoad
         at com/ms/applet/AppletPanel.processSentEvent
         at com/ms/applet/AppletPanel.processSentEvent
         at com/ms/applet/AppletPanel.run
         at java/lang/Thread.run
    I have no idea what any of that mess is, or why its so painful. If anyone can give a hand, Ill be checking here every 10 seconds until the time that it gets fixed, or you can email me at [email protected], thanks.

    Can you find a "Sun Java Console" entry on IE's Tools menu? If not, the Sun jvm isn't installed in a manner that IE can access.
    The messages that you posted in your original post are from the MS jvm. If the Sun jvm is operating, you shouldn't be seeing those messages.
    If the Sun jvm is being invoked by IE, then a red/blue icon of a steaming cup of coffee will be in the Systray area of the Start bar - at the far right. If it's there, a rightclick will allow you to open the Sun java console, which will report any problems or errors encountered.
    Check it out.

  • Applet loading fails: ClassNotFound exception onlyyyy on linux

    Hello,
    I have a server on my embedded device with WinCE, and this server has the jar files and html files. connecting with Windows is working fine and Java applet loads and runs perfectlly.
    The problem is with linux clients, I can't load the applet.
    I expected to havesomething wrong with the plugin, But I tried with the test applets on www.sun.com and they are working fine.
    The error is ClassNotFoundException and http connection failed, although when I take the URL copy/paste from the Java console to the address bar of the firefox it downloads the class file. so the path is OK.
    Also I can run with the appletviewer and it works perfect like the case with windows. The problem is with the browser, It can'T load the applet from a remote machine.
    Also I made an empty applet with a button on it to check may be I should compile on linux!! but also this failed, I could load this applet locally (the html and class files on desktop) and when I places them on the server in the directory configured to be the www public directory It is not loaded. And again this test applet laoded on windows machines.
    I use the same JRE version on linux and windows and the same JDK.
    I use on windows Opera/ Firefox/ explorer and all are working, on linux I use Firefox/ Konqurer/ Epiphany and all are not working.
    Any Idea?????
    Thanks in Advance

    Hello,
    I have a server on my embedded device with WinCE, and this server has the jar files and html files. connecting with Windows is working fine and Java applet loads and runs perfectlly.
    The problem is with linux clients, I can't load the applet.
    I expected to havesomething wrong with the plugin, But I tried with the test applets on www.sun.com and they are working fine.
    The error is ClassNotFoundException and http connection failed, although when I take the URL copy/paste from the Java console to the address bar of the firefox it downloads the class file. so the path is OK.
    Also I can run with the appletviewer and it works perfect like the case with windows. The problem is with the browser, It can'T load the applet from a remote machine.
    Also I made an empty applet with a button on it to check may be I should compile on linux!! but also this failed, I could load this applet locally (the html and class files on desktop) and when I places them on the server in the directory configured to be the www public directory It is not loaded. And again this test applet laoded on windows machines.
    I use the same JRE version on linux and windows and the same JDK.
    I use on windows Opera/ Firefox/ explorer and all are working, on linux I use Firefox/ Konqurer/ Epiphany and all are not working.
    Any Idea?????
    Thanks in Advance

  • Applet loading problem

    Hi, I'm new to applets and I'm having problems - it seems that I can't compile applets correctly or something. I tried the example at http://java.sun.com/docs/books/tutorial/applet/overview/lifeCycle.html .
    If I download and compile Simple.java and set up the html and resulting class file on my server as instructed, the applet won't load - I get a message saying "load: class Simple not found".
    HOWEVER, if I then simply download the Simple.class file from the example above (http://java.sun.com/docs/books/tutorial/applet/overview/example/Simple.class) and use that to replace the file that my compiler produced, the applet loads up fine.
    I'm using version 1.4.1_02 of the java2 SDK and version 6.0 of IE with service pack 1.
    Any help would be much appreciated!
    Thanks!

    Sure. =)
    Simple.java:
    import java.applet.Applet;
    import java.awt.Graphics;
    public class Simple extends Applet {
        StringBuffer buffer;
        public void init() {
         buffer = new StringBuffer();
            addItem("initializing... ");
        public void start() {
            addItem("starting... ");
        public void stop() {
            addItem("stopping... ");
        public void destroy() {
            addItem("preparing for unloading...");
        void addItem(String newWord) {
            System.out.println(newWord);
            buffer.append(newWord);
            repaint();
        public void paint(Graphics g) {
         //Draw a Rectangle around the applet's display area.
            g.drawRect(0, 0,
                 getSize().width - 1,
                 getSize().height - 1);
         //Draw the current string inside the rectangle.
            g.drawString(buffer.toString(), 5, 15);
    The html page just contains a tag that says
    <applet code="Simple.class" width="500" height="100"></applet>And I put both the html and the class file in the same directory on my web server.
    Here's a link to a site with the class file I compiled from Simple.java:
    http://www.webdino.net/~bkwa/applet/ben/simple.html
    Here's a link to a site with the class file I downloaded from sun's site:
    http://www.webdino.net/~bkwa/applet/sun/simple.html

  • Applet loading Failed .... for diagnostics-console-extension.jar

    Hi everybody,
    i downloaded diagnostics-console-extension.jar from bea site. i copied this file to D:\bea9.0\user_projects\domains\mydomain\console-ext. i started weblogic server . in administration console when i clicking WLDF console extension tab it gives the Applet loading failed....and also in server console it gives an exaception as follows ""
    java.lang.ClassNotFoundException: jsp_servlet._com._bea._diagnostics._dashboard.
    __chartpanelapplet_class.
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:512)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:224)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(Servlet
    StubImpl.java:383)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:298)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:165)
    Truncated. see log file for complete stacktrace
    >
    in Java console output Exception
    Java Plug-in 1.5.0_06
    Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\mselvan
    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 and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.ClassFormatError: Truncated class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         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)
    Exception in thread "Thread-5" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-com.bea.diagnostics.dashboard.ChartPanelApplet.class" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    so kindly any one help for the same.please help me
    Thanks & regards
    Selvan.M

    Several issues with the diagnostic console extension have been fixed in WLS 9.2. Can you try the extension from 9.2? WLS 9.2 is now ready for download from the BEA site.
    Thanks

  • Applet loading

    Hi
    When I use JRE 1.4 applet load,
    but if I use default JRE /Windows 98/
    applet can't load
    java.lang.NullPointerException!

    Hello Tanja,
    I think you should check, if you have used a class that is only availible with jre1.4. In this case it isn't possible to run it with the default jre or the virtual machine from Microsoft (in IE5 and so on).

Maybe you are looking for

  • Sales Office is not possible to delete in a service contract

    Hi I have set up a Service Desk solution for VAR's which worked fine for the first tests. I then created a new contract for a new customer. In CRMD_ORDER was the first contract set up with the following values under the tab Organisation: Organization

  • Dynamically word wrap in a JLabel

    I have several JLabels in a complex layout that has a JSplitter and is in a resizeable window. I would like it if there isn't enough room for the text of the JLabel to fit on one line, but there is enough vertical room (there almost always is), for t

  • I can't start listener in the Control Painel/Admin Tools/ Services

    Windows XP - Home Edition (I know it´s not the better but came with my laptop) I installed the Oracle 10g and I don't know why I have 3 listener as services. Its services showed me different messages when I tried start it: 1. OracleOraDb10g_home1TNSL

  • Photoshop Elements 10 organizer albums have disappeared

    using Photoshop Elements 10 organizer, all pictures are still present in the organizer, however all of the elements have disappeared? does anybody know how I can recover the albums?

  • I'm trying to user reflector installed on windows 7

    On a corporate network. My PC appears in the mirroring icon on my iphone4s 6.1.3 but when I click on the name I don't get the option to mirror. Same thing at home using same pc on home wifi. My laptop "name" appears ok on the phone - so reflector see