GUI quiz Flashcards
graphical user interface (GUI)
Type of user interface that allows a user to interact with software using text, graphics, and visual images, such as icons.
JavaFX
A new framework for developing Java programs that use graphics and GUIs
FXML (FX markup language)
an XML vocabulary for defining and arranging JavaFX GUI controls without writing any Java code.
declarative programming
writing code in a way that describes what you want to do, and not how you want to do it.
focus on defining what the GUI should contain without specifiying how to generate it.
Controls
GUI components, such as Labels that display text, TextFields that enable a program to recieve user input, Buttons that users click to initiate actions etc.
API (application program interface)
A set of routines, protocols, and tools for building software applications.
Four common imports needed by a JavaFX application
import javafx.application.Application;
import javafx.application.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
The entry point of every JavaFX application
start() method
What is the top-level content container in JavaFX?
What is the base class of all the scene participants in JavaFX?
Name the base class of a JavaFX application.
What is one method of the JavaFX application that has to be implemented?
Which Application method has to be called by the main method to execute a JavaFX application?
Which Application method is called when the JavaFX application window is closed using the x button in the upper corner?
The start(Stage) method.
Which class has to be used to embed HTML?
Class JFXPanel