Exam 17: Swing I
Exam 1: Getting Started46 Questions
Exam 2: Console Input and Output29 Questions
Exam 3: Flow of Control43 Questions
Exam 4: Defining Classes I44 Questions
Exam 5: Defining Classes Ii46 Questions
Exam 6: Arrays47 Questions
Exam 7: Inheritance43 Questions
Exam 8: Console Input and Output43 Questions
Exam 9: Exception Handling45 Questions
Exam 10: File IO46 Questions
Exam 12: Uml and Patterns22 Questions
Exam 13: Interfaces and Inner Classes32 Questions
Exam 14: Generics and the Arraylist Class31 Questions
Exam 15: Linked Data Structures43 Questions
Exam 16: Collections and Iterators44 Questions
Exam 17: Swing I37 Questions
Exam 18: Swing II31 Questions
Exam 19: Java Never Ends18 Questions
Exam 11: Recursion43 Questions
Exam 20: Applets25 Questions
Select questions type
Write a Java statement to add a title to the window in the GUI created in number 1 above that says "First Window".
(Short Answer)
4.8/5
(45)
Events and listeners for menu items are handled in exactly the same way as they are for buttons.
(True/False)
4.8/5
(35)
Explain the model-view-controller pattern when applied to a typical GUI.
(Essay)
4.9/5
(37)
When using the BorderLayout manager you must specify all five regions.
(True/False)
4.7/5
(40)
The _____________ manager is the simplest layout manager.It arranges components one after the other,going from left to right,in the order in which you add them.
(Multiple Choice)
4.9/5
(43)
A _____________ is an object that is a simple container class that groups other objects.
(Multiple Choice)
4.7/5
(41)
A button component should have a registered _____________ associated with it.
(Multiple Choice)
4.9/5
(32)
Write Java statements to add menu items named "Circle","Square",and "Rectangle" to the menu created in number 7 above.
(Essay)
4.9/5
(42)
Create a Java GUI that allows the user to enter a desired user name and password.Provide a button,when clicked,informs the user that their account was successfully created.Include labels as appropriate.
(Essay)
4.9/5
(45)
In a Swing program,throwing an uncaught exception may leave the program in an unpredictable state.
(True/False)
4.8/5
(34)
In event-driven programming,your program determines the order in which things happen.
(True/False)
4.8/5
(35)
Write a Java statement to create a menu with the title "Drawing Template".
(Short Answer)
4.9/5
(33)
What are three common objects you must deal with when using a Swing container class?
(Essay)
4.7/5
(30)
A _____________ allows multiple lines of text to be displayed.
(Multiple Choice)
4.8/5
(34)
The getText()method of a JTextField object returns an object of type:
(Multiple Choice)
4.9/5
(35)
Showing 21 - 37 of 37
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)