I have a finished, working java project using swing and awt. It works as executable jar, but I want to upload it on a webserver to be a working live demo. This is the main class, there are many other classes used. I found out about java.applet.Applet, but how can I implement it the best way?
import javax.swing.*;
import java.awt.*;
public class TicTacToe extends JFrame implements Components
{
public TicTacToe()
{
super("TicTacToe V1");
add(statusbar, BorderLayout.NORTH);
add(playground, BorderLayout.CENTER);
setDefaultCloseOperation(EXIT_ON_CLOSE);
setSize(800,600);
setResizable(false);
setVisible(true);
}
public static void main(String[] args){
TicTacToe tictactoe = new TicTacToe();
}
}