import java.util.*;
import java.lang.*;
import java.io.*;
import javax.swing.*:
// The main method must be in a class named "Main".
class Main {
public static void main(String[] args) {
JFrame fenster = new JFrame(title: "Zähler");
fenster.setVisible(true);
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: