Java text to applet converter ... is there such a thing?
- by Jahkr
Let's say you have this program:
public class sample
public static void main(String args[])
{
System.out.println("Hello world!");
}
}
... is there a converter that will turn it into this:
import java.applet.Applet;
import javax.swing.*;
public class sample extends JApplet
{
public static JTextArea area;
public void init()
{
area = new JTextArea();
add(area);
area.append("Hello world!");
}
}
I mean, I can do it by hand... but it would take some time.