Guest_imported
New member
- Jan 1, 1970
- 0
I'm learning java, and when i launch javac to compile, it works, when i launch appletviewer it works, when i launch
Ie5.5 it fails; class not found .... why??
I use JDK 1.3
The problem is, it's not with all applets,sometimes it works
with any kind of applet,
e.g an applet which returns the error message: import java.awt.*;
public class DisplayXY extends javax.swing.JApplet {
String xParameter, yParameter;
public void init() {
xParameter = getParameter("X"
yParameter = getParameter("Y"
}
public void paint(Graphics screen) {
Graphics2D screen2D = (Graphics2D) screen;
screen2D.drawString("The parameters are " +
xParameter + " and " + yParameter, 5, 50);
}
}
Thanks in advance
BABATA
fosafr@yhaoo.fr
Ie5.5 it fails; class not found .... why??
I use JDK 1.3
The problem is, it's not with all applets,sometimes it works
with any kind of applet,
e.g an applet which returns the error message: import java.awt.*;
public class DisplayXY extends javax.swing.JApplet {
String xParameter, yParameter;
public void init() {
xParameter = getParameter("X"
yParameter = getParameter("Y"
}
public void paint(Graphics screen) {
Graphics2D screen2D = (Graphics2D) screen;
screen2D.drawString("The parameters are " +
xParameter + " and " + yParameter, 5, 50);
}
}
Thanks in advance
BABATA
fosafr@yhaoo.fr