Exam 12: Java-Fx: Gui Programming and Basic Controls
Exam 1: Introduction to Computers and Java53 Questions
Exam 2: Java Fundamentals52 Questions
Exam 3: Decision Structures58 Questions
Exam 4: Loops and Files56 Questions
Exam 5: Methods56 Questions
Exam 6: A First Look at Classes58 Questions
Exam 7: Arrays and the Arraylist Class63 Questions
Exam 8: A Second Look at Classes and Objects52 Questions
Exam 9: Text Processing and More About Wrapper Classes62 Questions
Exam 10: Inheritance64 Questions
Exam 11: Exceptions and Advanced File Io59 Questions
Exam 12: Java-Fx: Gui Programming and Basic Controls42 Questions
Exam 13: Java-Fx: Advanced Controls40 Questions
Exam 14: Java-Fx: Graphics, Effects, and Media40 Questions
Exam 15: Recursion23 Questions
Exam 16: Databases40 Questions
Select questions type
The __________ layout container arranges the contents into cells, similar to a spreadsheet.
Free
(Multiple Choice)
4.8/5
(43)
Correct Answer:
B
To display an image in a JavaFX application you must __________.
Free
(Multiple Choice)
4.9/5
(48)
Correct Answer:
C
Which of the following is not a way a user can interact with a computer?
Free
(Multiple Choice)
4.9/5
(28)
Correct Answer:
D
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.7/5
(41)
Select all that apply. Which of the following file types are supported by the Image class?
(Multiple Choice)
4.9/5
(35)
Programs that operate in a GUI environment must be __________.
(Multiple Choice)
4.9/5
(32)
What method do you call to register an event handler with a Button control?
(Multiple Choice)
4.7/5
(35)
The HBox object's setPadding method takes a(n) __________as its argument.
(Multiple Choice)
5.0/5
(39)
To retrieve text that a user has typed into a TextField control, you call the __________ method.
(Multiple Choice)
4.9/5
(30)
The process of connecting an event handler object to a control is called __________ the event handler.
(Multiple Choice)
4.9/5
(45)
Assuming three ImageView objects named puppy, kitten, and bunny have been created, what does the following statement do? HBox hbox = new HBox(5, puppy, kitten, bunny);
(Multiple Choice)
4.7/5
(38)
Layout containers provide methods for fine-tuning the way controls are arranged.
(True/False)
4.9/5
(30)
The Application class's __________ method is the main entry point for a JavaFX application.
(Multiple Choice)
4.9/5
(35)
Which of the following import statements is required in order to write an event handler class?
(Multiple Choice)
4.9/5
(32)
To preserve an image's aspect ratio you can use the ImageView class's PreserveAspectRatio method.
(True/False)
4.7/5
(24)
If you set a scene's size to a width and height that is smaller than the width and height of the image to be displayed ___________.
(Multiple Choice)
4.9/5
(41)
When programming in JavaFX, you should think of the GUI objects as nodes in a tree-like hierarchical structure known as a scene graph.
(True/False)
4.7/5
(31)
When an event takes place, the control responsible for the event creates an event __________.
(Multiple Choice)
4.9/5
(34)
An event handler class will not be executed unless it has been registered with the correct control.
(True/False)
4.9/5
(38)
For this question, assume myView references an ImageView object. In order to preserve the image's aspect ratio (so it does not appear stretched or distorted), you should use which of the following?
(Multiple Choice)
4.8/5
(34)
Showing 1 - 20 of 42
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)