user interface - Manual Compile of Netbeans Java Swing Application Created Multiple Classes -
I created a swing GUI using Netbeans, and when I try to do the following manually: / P>
# ls myProg.form myProg.java # javac myProg.java # ls myProg $ 1.Class myProg $ 2.Class myProg $ 3.Class myProg $ 4.Class myProg $ 5.class myProg $ 6. Square myProg.class myProg.form myProg.java
This made those extra classes. Why is this happening? it's a fluke? I tried Googling but no answer appeared.
Those extra classes are anonymous internal classes used by your rotation GUI. Java compiler names anonymous Inner classes like this.
Comments
Post a Comment