<P>How to I get an applet to run using JBuilder?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Stan_Dominski
Posted On:   Saturday, September 22, 2001 09:31 AM


I need advice on how to run an applet.
the error message says:

"Warning 908:

check source path
c:JBuilder4JBFilesLocation19stanley_tryappletsrcstanley_tryappletTryApplet.java

cannot be found on source path

the program compiles and the output window appears on the screen but at the bottom of the window it says:

"start Applet not initialized"

HELP ! :)

Stan

dominskis@aol.com

Re: <P>How to I get an applet to run using JBuilder?

Posted By:   Shahram_Khorsand  
Posted On:   Monday, October 1, 2001 10:52 PM

All directories in the src directory are considered to be java packages. This means that you cannot have directories in the src directory without stating this in you java file.


Here is what you have to do.

1. Move you file to the src directory och retry.

2. in the TryApplet.java add a package statement.

the first this in the file should be:

package stanley_tryApplet;

The package name should be something easier!!.


Good luck!

About | Sitemap | Contact