Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Showing posts with label Awt. Show all posts
Showing posts with label Awt. Show all posts

Sunday, 17 February 2019

Fourth Week Term Work Program1

1) Write a Java Program that creates an AWT window with the following attributes:
a. Dimensions of the window: 500X400
b. Initial position of the window: (150, 150)
c. Name of the window: My First AWT Frame
d. Add a button named “Cancel” to the window