Podcast
Questions and Answers
Which package is used for AWT in Java?
Which package is used for AWT in Java?
What is the purpose of a Frame in AWT?
What is the purpose of a Frame in AWT?
Which method is used to set the size of a Frame in AWT?
Which method is used to set the size of a Frame in AWT?
What does the method setVisible(true/false) do in AWT?
What does the method setVisible(true/false) do in AWT?
Signup and view all the answers
What is the purpose of java.awt.event package in AWT?
What is the purpose of java.awt.event package in AWT?
Signup and view all the answers
Flashcards
java.awt.Frame
java.awt.Frame
The class used for creating top-level windows in Java's Abstract Window Toolkit.
Frame.setSize(int width, int height)
Frame.setSize(int width, int height)
A method used to set the width and height of a Frame object, determining the size of the window.
Frame.setVisible(true/false)
Frame.setVisible(true/false)
A method used to control the visibility of a Frame, making it appear or disappear on the screen.
java.awt.event
java.awt.event
Signup and view all the flashcards
java.awt.*
java.awt.*
Signup and view all the flashcards