A multi-module Maven project that contains all the reusable components. Feel free to reuse their code snippets in the homework project.
Each example has its submodule. You can choose the desired project in Maven using the flag -pl
. Some projects also contain multiple examples; you can switch between them using the flag -P
since each example has its profile.
The parent project defines the possible dependencies (including their versions) in the dependencyManagement
element. The plugins are defined in the parent project too. Thus, a submodule should just define what dependencies and plugins should be used without specifying the version
elements. However, you can override the inherited versions redefining the corresponding property
elements.
These projects do not contain any UI elements; they just demonstrate the usage of dependency javafx-base
.
-
An example project that demonstrates how to work with the binding API in JavaFX.
These projects focus on special use cases of JavaFX without adding a business logic that follows the MVC pattern.
-
JavaFX "Hello, World!" program.
As this project is not MVC, we do not recommend using it in your homework project.
-
An example project that demonstrates how to display an image in JavaFX with the ImageView class.
-
javafx-imageview-stacking-example
An example project that demonstrates how to display multiple transparent images on the top of each other in JavaFX with the ImageView class.
-
An example project that demonstrates how to implement a board game in JavaFX.
-
An example project that demonstrates how to implement a board game in JavaFX.
-
javafx-board-game-example2-game-over
Example project that demonstrates how to implement a board game in JavaFX.
-
An example project that demonstrates how to implement a board game in JavaFX.
-
An example project that demonstrates how to implement a board game in JavaFX.
-
A simple number converter, written in JavaFX.
-
A basic calculator written in JavaFX.
-
An example project that demonstrates how to display the current time in JavaFX.
-
An example project that demonstrates how to pass data between JavaFX controllers.
-
Simple text editor written in JavaFX.
-
An example project that demonstrates how to work with properties in JavaFX.
-
An example project that demonstrates how to switch between scenes in JavaFX.
-
Stopwatch with start, stop, and reset functionality written in JavaFX.
-
Example project that demonstrates how to display data in tabular format in JavaFX with the TableView class.