Exam 7: A First Look at Gui Applications
Exam 1: Introduction to Computers and Java42 Questions
Exam 2: Java Fundamentals53 Questions
Exam 3: Decision Structures52 Questions
Exam 4: Loops and Files48 Questions
Exam 5: Methods50 Questions
Exam 6: A First Look at Classes49 Questions
Exam 7: A First Look at Gui Applications49 Questions
Exam 8: Arrays and the Arraylist Class52 Questions
Exam 9: A Second Look at Classes and Objects40 Questions
Exam 10: Text Processing and More About Wrapper Classes49 Questions
Exam 11: Inheritance49 Questions
Exam 12: Exceptions and Advanced File Io46 Questions
Exam 13: Advanced Gui Applications46 Questions
Exam 14: Applets and More39 Questions
Exam 15: Recursion34 Questions
Exam 16: Sorting, Searching, and Algorithm Analysis46 Questions
Exam 17: Generics50 Questions
Exam 18: Collections50 Questions
Exam 19: Array-Based Lists20 Questions
Exam 20: Linked Lists36 Questions
Exam 21: Stacks and Queues36 Questions
Exam 22: Binary Trees, Avl Trees, and Priority Queues45 Questions
Select questions type
This is a basic window that has a border around it,a title bar,and a set of buttons for minimizing,maximizing,and closing the window.
Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
C
This layout manager arranges components in five regions.
Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
B
You would use this command at the operating system command line to execute the code in the MyApplication class and display the graphic image Logo·jpg as a splash screen.
Free
(Multiple Choice)
4.9/5
(45)
Correct Answer:
B
When adding components to a container that is governed by the GridLayout manager,
(Multiple Choice)
4.8/5
(37)
The minimize button,maximize button,and close button on a window are sometimes referred to as
(Multiple Choice)
4.8/5
(36)
To use the ActionListener interface,as well as other event listener interfaces,you must have the following import statement in your code:
(Multiple Choice)
4.9/5
(37)
How many radio buttons can be selected at the same time as the result of the following code? hours = new JRadioButton("Hours");
Minutes = new JRadioButton("Minutes");
Seconds = new JRadioButton("Seconds");
Days = new JRadioButton("Days");
Months = new JRadioButton("Months");
Years = new JRadioButton("Years");
TimeOfDayButtonGroup = new ButtonGroup();
DateButtonGroup = new ButtonGroup();
TimeOfDayButtonGroup.add(hours);
TimeOfDayButtonGroup.add(minutes);
TimeOfDayButtonGroup.add(seconds);
DateButtonGroup.add(days);
DateButtonGroup.add(months);
DateButtonGroup.add(years);
(Multiple Choice)
4.9/5
(33)
If panel references a JPanel object,which of the following statements adds the GridLayout to it?
(Multiple Choice)
4.9/5
(38)
The ActionEvent argument that is passed to an action listener's actionPerformed method is the event object that was generated in response to an event.
(True/False)
4.8/5
(43)
These types of components are coupled with their underlying peers.
(Multiple Choice)
4.8/5
(42)
When using the BorderLayout manager,how many components can each region hold?
(Multiple Choice)
5.0/5
(45)
Assume that the variable checkbox references a JCheckBox object.To determine whether the check box has been selected,use the following code.
(Multiple Choice)
4.7/5
(37)
If button1 is a JButton object,which of the following statements will make its background blue?
(Multiple Choice)
4.9/5
(33)
When a splash screen is displayed,the application does not load and execute until the user clicks the splash screen image with the mouse.
(True/False)
4.8/5
(39)
What does the following statement do? addButton.addActionListener(new AddButtonListener());
(Multiple Choice)
4.8/5
(46)
________ is a library of classes that do not replace ________,but provide an improved alternative for creating GUI applications.
(Multiple Choice)
4.9/5
(33)
This layout manager arranges components in regions named North,South,East,West,and Center.
(Multiple Choice)
4.8/5
(28)
Showing 1 - 20 of 49
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)