PDA

View Full Version : Applet in jCreator


jaspreet2142
Aug 26, 2008, 05:18 PM
Suppose my code is



import java.applet.*;
import java.awt.*;

/*<applet code = "MyApp" height = 400 width = 500></applet>*/

public class MyApp extends Applet
{
public void paint(Graphics g)
{
g.drawString("Hello",100,100);
}
}


How do I run above code in jCreator
I don't want to make any html file

Kakuzoo
Apr 18, 2009, 02:53 AM
suppose my code is



import java.applet.*;
import java.awt.*;

/*<applet code = "MyApp" height = 400 width = 500></applet>*/

public class MyApp extends Applet
{
public void paint(Graphics g)
{
g.drawString("Hello",100,100);
}
}


how do i run above code in jCreator
i don't want to make any html file


I have the same query. Using Html is not even a solution to my work.If you have got the answer please post it away.