I managed to upload my JApplet to the website by creating a jar file ,
<HTML>
<HEAD>
</HEAD>
<BODY>
<P>
<APPLET code ="com.mxgraph.examples.swing.EditorDriver"
...
Type: Posts; User: wizdom
I managed to upload my JApplet to the website by creating a jar file ,
<HTML>
<HEAD>
</HEAD>
<BODY>
<P>
<APPLET code ="com.mxgraph.examples.swing.EditorDriver"
...
If you have no interest in programming or computers, it is going to be very hard to force yourself to like it . :(
Especially when trying to debugging a program that you are going to have to make....
Ya that's a good idea. i was thinking about doing that, but I'm not sure how to do it :S
I've been using Netbeans IDE and i have noticed that it creates a Jar file for you automatically, but not...
The getRescource method do not get files that are in the jgraphx.jar file.
The method gets files from the folders.
The jgraphx.jar file is an imported library that i use for my program.
it is because of the code:
Document doc = mxUtils.loadDocument(GraphEditor.class.getResource(
"/com/mxgraph/examples/swing/resources/default-style.xml")
.toString());...
Ya thats all i got from my java console
how come it failed to create a GraphEditor object though? ><
it works fine on my computer T_T
I got the browser's java console and i get this error
Exception in thread "thread applet-com/mxgraph/examples/swing/EditorDriver.class-10" java.lang.NoClassDefFoundError: Could not initialize...
the browser works fine with both forward and back slashes in the class name when running the html file on my local computer.
how do you use the ".s"? could you give an example
How do you ge the...
The build folder contains all the files (.class, . jar, .html) need for the java applet, and is placed in a directory called
"http://www.cyberdesign.com.au/onlinehockeyplays/build/EditorDriver.html"...
Its quite a simple GUI program that extends JApplet.
There is no network programming involved.
When run on the website there is no error at all.
The HTML starts by loading java and then turns...
Currently the HTML file is in a separate parent folder (called "build").
The .class and the imported .jar file referenced in the HTML file are in a different subfolder
e.g....
I have been having some trouble uploading my Java Applet embedded in HTML on to my Web server.
The trouble is that when the Applet is on the server it does not run (HTML page is blank).
However it...