An applet into an applet...
How can I use 3rd part applet into my own applet??!?
Is this statement correct??!?
Code:
import java.applet.*;
import java.awt.*;
import 3rdPartApplet;
...
...
public class MyOwnApplet extends Applet
{
public void paint (Graphics g)
{
g.drawString("Hello",0,50);
}
}
But how can I use the methods defined into 3rdPartApplet??!?
Thx in advance...
Xmas.
[RESOLVED] An applet into an applet...
No, no.... I finally understood why... It was a compiler directive... I recompiled MyConnClass with this line:
Code:
javac -target 1.1 MyConnClass
Now all works fine...