Creating a frame in AWT is simple and it can be done in many ways. Yet the most preferred and the most easiest way is here.
import java.awt.* : Import everything from java.awt package excluding its sub packages
AWTFrame() : The default constructor of the class AWTFrame
new AWTFrame() : Creating the object for the AWTFrame class
import java.awt.* : Import everything from java.awt package excluding its sub packages
AWTFrame() : The default constructor of the class AWTFrame
new AWTFrame() : Creating the object for the AWTFrame class
No comments:
Post a Comment