Are you getting problem with initiailization of your JavaFX controllers? This repo is your solution.
عن هذا المشروع
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
من ملف README الخاص بالمشروع على
GitHub
- النجوم
- 14
- التفريعات
- 3
- الرخصة
- MIT
- آخر تحديث
- 29/08/2021
أضف هذه الشارة إلى ملف README
أظهر أن مشروعك مُدرج على «صُنع في الجزائر».
[](https://www.madeinalgeria.dev/projects/javafx-bundle)