javacode won't work in the Net
The following Code can be compiled and started on my PC.
But I cannot start it in the Internet.
import java.applet.*;
import java.awt.*;
publicclass Bildextends Applet
{
Image MyImage;// [] = new Image[1]; // Platz f黵 1 Image
publicvoid init()
{
MyImage = getImage(getCodeBase(),"1.jpg" );
}
publicvoid paint(Graphics g)
{
g.drawImage(MyImage, 10, 10,this);
}
}
[1027 byte] By [
EricFalbea] at [2007-11-26 15:47:27]

If you mean, "I can run this applet via the appletviewer, but it fails to run when installed on a web server and using a web browser," then it could be a lot of things.
Probably the first thing you should do is look at the java console on your browser or the java plug-in.
Also check out your web server log files to make certain that the HTML, the applet, and the image are all being delivered correctly (with a 200 status).
@KayDeE : Yes, I uploaded it to a Server, that offers free webspace@paulcw : Where are the Web Server log files?@qUesT_foR_knOwLeDge : I use IE 6@georgemc : The image is in the same folder as the Java Classfile@ted_trippin : a bobble?
The JAVA Console outputs:
basic: Registrierter Modality-Listener
liveconnect: JS-Methode wird gestartet: document
liveconnect: JS-Methode wird gestartet: URL
basic: ClassLoader wird referenziert: sun.plugin.ClassLoaderInfo@3820e, refcount=1
basic: Fortschritts-Listener hinzugef黦t: sun.plugin.util.GrayBoxPainter@167d7fb
basic: Applet wird geladen...
basic: Applet wird initialisiert...
basic: Applet wird gestartet...
basic: Bild geladen: http://ericf.beeven.de/ComputerElektronik/Programmieren/Java/1.jpg
it says that the image is loaded.
It normally displays it, when I call it on my PC from the Explorer.
Read your web server manual, or ask the administrators, or read the help pages that the administrators have provided, to find out where the log files are.But it's looking pretty clear what the problem is at this point...