Skip to content

Instantly share code, notes, and snippets.

@zakki
Created November 11, 2016 15:08
Show Gist options
  • Save zakki/b5176a7d37fa3938f0646d11d9bd01a5 to your computer and use it in GitHub Desktop.
Save zakki/b5176a7d37fa3938f0646d11d9bd01a5 to your computer and use it in GitHub Desktop.
import java.awt.*;
import java.applet.*;
public class MyApplet extends Applet {
public void paint(Graphics g) {
g.drawString("A Simple Applet",0,10);
int b = 0, applet = 0;
String code;
int width;
boolean height;
boolean c = b <applet ;
code="MyApplet" ;
width=100 ;
height=50 > 1 ;
//</applet>
}
}
@zakki
Copy link
Author

zakki commented Nov 11, 2016

$ javac MyApplet.java
$ appletviewer.exe MyApplet.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment