I just learned how to program Java. I created Applets as part of an online class. I asked the instructor how to share the applets I created with my friends, and he told me I'd have to pay for another class before he would tell me. Not happy with that response I tried to figure it out on my own.
What I can't figure out is how to embed my applets which I wrote in the code
g.drawString("Click on the screen", ((getWidth()/2))-50, getHeight()/2);
As I wrote this I envisioned the code as being flexible since web browsers are flexible, but apparently they aren't when dealing with applets.
The only thing I know about applets is to put this in html:
<applet code=AppletClassName.class archive="JarFileName.jar" width=320 height=240> </applet>