This Java program creates a basic graphical user interface using AWT. It defines a Frame containing a Button labeled "Hello World" positioned at coordinates 80,80 with dimensions 100x50 pixels. The Frame is given a title of "JavaTPoint", size of 300x250 pixels, and set to visible. The program initializes an instance of the AwtProgram1 class to display the interface.
This Java program creates a basic graphical user interface using AWT. It defines a Frame containing a Button labeled "Hello World" positioned at coordinates 80,80 with dimensions 100x50 pixels. The Frame is given a title of "JavaTPoint", size of 300x250 pixels, and set to visible. The program initializes an instance of the AwtProgram1 class to display the interface.
This Java program creates a basic graphical user interface using AWT. It defines a Frame containing a Button labeled "Hello World" positioned at coordinates 80,80 with dimensions 100x50 pixels. The Frame is given a title of "JavaTPoint", size of 300x250 pixels, and set to visible. The program initializes an instance of the AwtProgram1 class to display the interface.