← All projects

JavaFX-Bundle

by @Younes-Charfaoui

14

Are you getting problem with initiailization of your JavaFX controllers? This repo is your solution.

About this project

JavaFX Bundle JavaFX Bundle is Mini-Library that helps you pass parameters and objects between the controllers in your JavaFX application without using static parameters and other old techniques. Getting Started Follow these instructions to start using the library in your JavaFX projects. Prerequisites You will need just a running machine with JDK installed and a simple IDE that let you import your JAR files. Installing Go under the release section and download the latest library in JAR file format, then throughout your IDE (I prefer IntelliJ IDEA) add the JAR file to the project. Now you can have fun with your objects passed everywhere in your JavaFX Application. Usage 1- Create Bundle Object To pass some parameters you need to create an object named FXBundle, this object will be transferred between the controllers, to create this object you have two options: 1- The Builder Way: You can use the Builder Object of this FXBundle and next use this builder to populate this bundle with any parameters 1- The Map Way: Another way to build the FXBundle Object is throughout a constructor that receives a map of type String => Object 2- Fill out the Bundle

From the project README on GitHub

Stars
14
Forks
3
License
MIT
Last push
29 Aug 2021

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/javafx-bundle.svg)](https://www.madeinalgeria.dev/projects/javafx-bundle)

Related projects