Deck 15: Using Javafx and Scene Builder
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
Match between columns
سؤال
سؤال
سؤال
Match between columns
سؤال
Match between columns
سؤال
سؤال
سؤال
Match between columns
سؤال
سؤال
سؤال
Match between columns
سؤال
Match between columns
سؤال
Match between columns
سؤال
سؤال
Match between columns
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
Match between columns
سؤال
Match between columns
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/65
العب
ملء الشاشة (f)
Deck 15: Using Javafx and Scene Builder
1
In Scene Builder, the controller panel is where you connect the GUI to the Java code in your IDE.
True
2
Which method can be called by a JavaFX application to finish?
A) Application.exit()
B) Platform.finish()
C) Application.end()
D) Platform.s top()
A) Application.exit()
B) Platform.finish()
C) Application.end()
D) Platform.s top()
D
3
All JavaFX applications extend from the StackPane class.
False
4
StackPane is a type of container for layouts.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
5
In JavaFX, ____ transitions let you create animations using a technique similar to creating an animation using frames, as in a movie.
A) timeline
B) sequential
C) key frame
D) parallel
A) timeline
B) sequential
C) key frame
D) parallel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
6
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
7
A semicolon is required at the end of a line of code in CSS.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
8
Pressing Return/Enter if a widget is selected, places that control in edit mode.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
9
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
10
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
11
JavaFX and Swing can be used concurrently in the same application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
12
When a JavaFX application is embedded in a Web page, the application runs locally.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
13
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
14
A JavaFX animation uses a container called Anchor Pane.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
15
If you define CSS rules on a parent control, the rules will be inherited by all of the children widgets.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
16
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
17
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
18
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
19
With JavaFX Scene Builder, you design the UI for JavaFX applications by writing FXML code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
20
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
21
Scene Builder allows for ____, which means changes are implemented as they are added, and you see a preview of the UI without the need to recompile your code.
A) WYSIWYG
B) live editing
C) drag and drop
D) cross-platform development
A) WYSIWYG
B) live editing
C) drag and drop
D) cross-platform development
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
22
A(n) ____ language is a high-level language that defines the desired result without explicitly listing the commands or steps that must be performed in order to accomplish a particular task.
A) imperative
B) markup
C) declarative
D) interpreted
A) imperative
B) markup
C) declarative
D) interpreted
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
23
Which class helps manage the layout of the Scene , and contains objects, such as buttons?
A) Application
B) Root
C) Swing
D) StackPane
A) Application
B) Root
C) Swing
D) StackPane
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
24
Which Scene Builder section contains various widgets you can use to create your layout?
A) Inspector Panel
B) Library Panel
C) Content Panel
D) Document Panel
A) Inspector Panel
B) Library Panel
C) Content Panel
D) Document Panel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
25
Which Scene Builder section contains the Hierarchy section and Controller section?
A) Inspector Panel
B) Library Panel
C) Content Panel
D) Document Panel
A) Inspector Panel
B) Library Panel
C) Content Panel
D) Document Panel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
26
Which class describes a container for an application?
A) Application
B) Stage
C) Scene
D) StackPane
A) Application
B) Stage
C) Scene
D) StackPane
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
27
How are style properties viewed, by default, in the CSS Analyzer?
A) Rules
B) Text
C) Table
D) Document
A) Rules
B) Text
C) Table
D) Document
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
28
In which Scene Builder section do you connect the GUI to the Java code in your IDE?
A) Controller Panel
B) Library Panel
C) Content Panel
D) Document Panel
A) Controller Panel
B) Library Panel
C) Content Panel
D) Document Panel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
29
____ is a style sheet language that describes the presentation of documents.
A) HTML
B) CSS
C) FXML
D) XML
A) HTML
B) CSS
C) FXML
D) XML
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
30
____ is a development technique in which the programmer can use a mouse or touch screen to move a component from one part of a screen to another.
A) WYSIWYG
B) Live editing
C) Drag and drop
D) Cross-platform development
A) WYSIWYG
B) Live editing
C) Drag and drop
D) Cross-platform development
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
31
In the CSS Analyzer panel, which button allows you to select a widget in the Control Panel?
A) Copy Styleable Path
B) CSS Picking Mode
C) Reveal in Inspector
D) Properties
A) Copy Styleable Path
B) CSS Picking Mode
C) Reveal in Inspector
D) Properties
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
32
Which Scene Builder section displays the path to a selected element?
A) Inspector Panel
B) CSS Analyzer Panel
C) Message Bar
D) Document Panel
A) Inspector Panel
B) CSS Analyzer Panel
C) Message Bar
D) Document Panel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
33
Which Scene Builder section is the scene container where you position the widgets to create your FXML layout?
A) Inspector Panel
B) CSS Analyzer Panel
C) Content Panel
D) Document Panel
A) Inspector Panel
B) CSS Analyzer Panel
C) Content Panel
D) Document Panel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
34
When you use Scene Builder, you build the UI by dragging components onto a Scene and the ____ code for the layout is generated automatically.
A) XML
B) FXML
C) HTML
D) CSS
A) XML
B) FXML
C) HTML
D) CSS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
35
In a JavaFX application, an object of which class includes the title bar and the minimize, maximize, and close buttons?
A) Application
B) Stage
C) Scene
D) StackPane
A) Application
B) Stage
C) Scene
D) StackPane
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
36
Scene Builder uses JavaFX ____ FX8 CSS style by default when you drag and drop controls onto the Content panel.
A) Modena
B) SpringXML
C) FXML
D) Modern
A) Modena
B) SpringXML
C) FXML
D) Modern
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
37
____ a widget in the Content panel places that control in edit mode.
A) Double-clicking on
B) Hovering on top of
C) Right-clicking on
D) Highlighting
A) Double-clicking on
B) Hovering on top of
C) Right-clicking on
D) Highlighting
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
38
The StackPane ____ node is the topmost layout and is passed to the scene constructor.
A) root
B) scene
C) stage
D) source
A) root
B) scene
C) stage
D) source
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
39
____ is a declarative markup language used to define UIs.
A) HTML
B) XML
C) CSS
D) FXML
A) HTML
B) XML
C) CSS
D) FXML
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
40
____ is a GUI design tool that allows the developer to create a user interface visually without having to spend a lot of time trying to position all the controls within the interface.
A) Scene Builder
B) JavaFX
C) CSS
D) Swing
A) Scene Builder
B) JavaFX
C) CSS
D) Swing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
41
JavaFX supports ____ animation, in which the transitions of the graphics scenes one to another is controlled by the state of a scene at a particular time.
A) timeline
B) sequential
C) key frame
D) parallel
A) timeline
B) sequential
C) key frame
D) parallel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
42
A(n) ____ tag is used to let the compiler know that your intention is to override a method in a parent class.
A) replace
B) abstract
C) override
D) undefined
A) replace
B) abstract
C) override
D) undefined
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
43
JavaFX is designed to replace ____ as the GUI library for Java SE and is included with the standard JDK and JRE.
A) Swing
B) GUI
C) Animation
D) FXML
A) Swing
B) GUI
C) Animation
D) FXML
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
44
What is cross-platform development?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
45
When you are working with Scene Builder, what is the Inspector Panel used for?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
46
You are not required to use an IDE when working with Scene Builder; it can run as a(n) ____.
A) Applet
B) command-line interactive shell
C) Flash Web app
D) standalone application
A) Applet
B) command-line interactive shell
C) Flash Web app
D) standalone application
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
47
In JavaFX, a ____ transition executes multiple transitions concurrently.
A) timeline
B) sequential
C) key frame
D) parallel
A) timeline
B) sequential
C) key frame
D) parallel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
48
Controls in a GUI screen are often called ____.
A) widgets
B) icons
C) styles
D) scenes
A) widgets
B) icons
C) styles
D) scenes
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
49
When using Scene Builder, how can you manipulate the graphical elements used in your FXML layout?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
50
Which of the following is an abstract method that must be overriden in a JavaFX application?
A) launch()
B) start()
C) init()
D) stop()
A) launch()
B) start()
C) init()
D) stop()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
51
From which class does Application extend from?
A) Object
B) GUI
C) Class
D) StackPane
A) Object
B) GUI
C) Class
D) StackPane
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
52
____ languages are used to design the presentation, formatting, layout, and style of text.
A) Imperative
B) Markup
C) Declarative
D) Interpreted
A) Imperative
B) Markup
C) Declarative
D) Interpreted
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
53
JavaFX animations use a container called ____, which allows the developer to position objects that are rendered in the order of the node.
A) Anchor Pane
B) StackPane
C) Timeline
D) Group
A) Anchor Pane
B) StackPane
C) Timeline
D) Group
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
54
Which three methods are called automatically when a JavaFX application runs?
A) launch() , start() , and stop()
B) init() , start() , and stop()
C) init() , launch() , and stop()
D) init() , launch() , and exit()
A) launch() , start() , and stop()
B) init() , start() , and stop()
C) init() , launch() , and stop()
D) init() , launch() , and exit()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
55
How can you change the JavaFX theme used in your layout?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
56
CSS code is said to be ____ because the lowest line of code on the sheet is the most relevant to the styling of the document.
A) interpreted
B) declarative
C) imperative
D) cascading
A) interpreted
B) declarative
C) imperative
D) cascading
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
57
The center of the Screen Builder screen holds the ____ pane where you can drag and drop controls onto the stage.
A) anchor
B) widget
C) stack
D) application
A) anchor
B) widget
C) stack
D) application
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
58
When using Scene Builder, how can you reorder widgets?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
59
What steps occur when you launch a JavaFX Application ?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
60
What code should you add to your application's start() method so that the primary stage is sent and displayed?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
61
In the context of JavaFX animations, what is "interpolation"?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
62
How can you edit an existing CSS file from inside Scene Builder?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
63
Suppose the main window of a JavaFX application is a Stage object named primaryStage . How can you set the title for the main window to "Hello world!"?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
64
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck
65
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 65 في هذه المجموعة.
فتح الحزمة
k this deck