5 Replies - 42006 Views - Last Post: 14 May 2011 - 09:07 PM Rate Topic: -----

#1 ryomadarktezuka  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 55
  • Joined: 02-August 09

"START APPLET NOT INITIALIZED" --- java

Posted 14 May 2011 - 04:14 AM

Hey guys I was trying to run a JApplet form that is a template from netbeans 6.9.1
I haven't changed anything yet to the default code and I tried running it through an appletviewer
but I received an error which says "start applet not initialized"

what does that mean? thanks

Is This A Good Question/Topic? 0
  • +

Replies To: "START APPLET NOT INITIALIZED" --- java

#2 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8378
  • View blog
  • Posts: 31,956
  • Joined: 06-March 08

Re: "START APPLET NOT INITIALIZED" --- java

Posted 14 May 2011 - 05:23 AM

View Postryomadarktezuka, on 14 May 2011 - 07:14 AM, said:

Hey guys I was trying to run a JApplet form that is a template from netbeans 6.9.1
I haven't changed anything yet to the default code and I tried running it through an appletviewer
but I received an error which says "start applet not initialized"

what does that mean? thanks

It means there is an error in your public void init() method which stops it to finish (probably a null pointer exception) so the applet is not initialized
Was This Post Helpful? 0
  • +
  • -

#3 g00se  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 3540
  • View blog
  • Posts: 16,130
  • Joined: 20-September 08

Re: "START APPLET NOT INITIALIZED" --- java

Posted 14 May 2011 - 06:04 AM

You should open the Java Console and post any exception stack trace here
Was This Post Helpful? 0
  • +
  • -

#4 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8378
  • View blog
  • Posts: 31,956
  • Joined: 06-March 08

Re: "START APPLET NOT INITIALIZED" --- java

Posted 14 May 2011 - 06:19 AM

On run it from AppletViewer or your IDE.
The offending line of code will be identified
Was This Post Helpful? 0
  • +
  • -

#5 ryomadarktezuka  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 55
  • Joined: 02-August 09

Re: "START APPLET NOT INITIALIZED" --- java

Posted 14 May 2011 - 09:04 PM

Thanks sir, we already resolved the problem :) thanks to your observation on INIT...
just thinking..is it possible to call an applet from another applet?
how can I do that? thanks again

Was This Post Helpful? 0
  • +
  • -

#6 macosxnerd101  Icon User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12297
  • View blog
  • Posts: 45,396
  • Joined: 27-December 08

Re: "START APPLET NOT INITIALIZED" --- java

Posted 14 May 2011 - 09:07 PM

Sure. Just instantiate the second Applet in the first, and treat it like any other JComponent.

class MyApplet extends JApplet{
     JApplet two;

     MyApplet(JApplet two){
        this.two = two;
        this.two.init();
        this.add(two);
     }
}


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1