Skip to content

INBPM0420L/javafx-demo-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

javafx-demo-projects

A multi-module Maven project that contains all the reusable components. Feel free to reuse their code snippets in the homework project.

Usage

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.

Basic Examples

These projects do not contain any UI elements; they just demonstrate the usage of dependency javafx-base.

  1. javafx-binding-example

    An example project that demonstrates how to work with the binding API in JavaFX.

Non-MVC examples

These projects focus on special use cases of JavaFX without adding a business logic that follows the MVC pattern.

  1. javafx-hello

    JavaFX "Hello, World!" program.

    As this project is not MVC, we do not recommend using it in your homework project.

  2. javafx-imageview-example

    An example project that demonstrates how to display an image in JavaFX with the ImageView class.

  3. 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.

MVC examples

Board game-related examples

  1. javafx-board-game-example1

    An example project that demonstrates how to implement a board game in JavaFX.

  2. javafx-board-game-example2

    An example project that demonstrates how to implement a board game in JavaFX.

  3. javafx-board-game-example2-game-over

    Example project that demonstrates how to implement a board game in JavaFX.

  4. javafx-board-game-example3

    An example project that demonstrates how to implement a board game in JavaFX.

  5. javafx-board-game-example4

    An example project that demonstrates how to implement a board game in JavaFX.

Miscellaneous examples

  1. javafx-fxml-hello

    JavaFX "Hello, World!" program using FXML.

  2. javafx-converter-example

    A simple number converter, written in JavaFX.

  3. javafx-calculator-example

    A basic calculator written in JavaFX.

  4. javafx-clock-example

    An example project that demonstrates how to display the current time in JavaFX.

  5. javafx-data-pass-example

    An example project that demonstrates how to pass data between JavaFX controllers.

  6. javafx-editor-example

    Simple text editor written in JavaFX.

  7. javafx-property-example

    An example project that demonstrates how to work with properties in JavaFX.

  8. javafx-scene-switch-example

    An example project that demonstrates how to switch between scenes in JavaFX.

  9. javafx-stopwatch-example

    Stopwatch with start, stop, and reset functionality written in JavaFX.

  10. javafx-tableview-example

    Example project that demonstrates how to display data in tabular format in JavaFX with the TableView class.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published