I\'m tying to get to the basics of applets but I\'m running in to some seemingly
ID: 3538654 • Letter: I
Question
I'm tying to get to the basics of applets but I'm running in to some seemingly very basic issues here.
I made a new project normally.
My project name is MyApplet.
my package "myapplet" contains two files:
first is a JAppletForm called myAppletForm. It contains one button and one combobox for testing purposes.
It has this following code:
http://postimg.org/image/utt8v26zl/
The other file is my Main.java.
That contains the following:
http://postimg.org/image/a3woc3j9t/
The form I'm trying to open through the main method does not appear. However, when I click run on the myAppletForm it opens normally. What am I missing?
Explanation / Answer
The extension is in the JAppletForm I'm creating a new out of in the Main class. To avoid the applet within an applet situation quad64 asked me of, removing the extensions from the JAppletForm obviously breaks the inherit JAppletForm initComponents method.