Questions and Answers
Which package contains all the predefined classes for designing GUI in Java?
java.awt
Which container does not contain a title bar and menu bar?
Panel
What type of controls can be used in AWT to develop GUI applications?
Labels, TextField, Buttons, Check boxes, Choice, Lists, Menu
What is the default layout manager used by Window in AWT?
Signup and view all the answers
Where can an applet run and work?
Signup and view all the answers
Study Notes
GUI Design in Java
- The
java.awt
package contains all the predefined classes for designing GUI in Java.
Containers in AWT
- A
Panel
is a container that does not contain a title bar and menu bar.
Controls in AWT
-
AWT
(Abstract Window Toolkit) provides various types of controls, such asButton
,Label
,TextField
, andCheckBox
, to develop GUI applications.
Layout Managers in AWT
- The
BorderLayout
is the default layout manager used byWindow
in AWT.
Applet Execution
- An applet can run and work within a web browser or using the
appletviewer
tool.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.