Getting an a TextBox to show in an Applet
Enrique Gonzalez Moore
posted 6 years ago
Not sure what you're trying to do and what exactly isn't working except I do see that you're trying to mix AWT and Swing components in the same program, without need, and this will often mess you up. I strongly recommend that you stick with Swing and get rid of all AWT in your code. Also, why does your applet code have a main method? You may wish to read some of the tutorials on how to code Swing and JApplets.