100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Samenvatting Stappenplan JavaFX applicatie opzetten

Rating
-
Sold
-
Pages
1
Uploaded on
02-01-2023
Written in
2022/2023

Stappenplan JavaFX applicatie opzetten

Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
January 2, 2023
Number of pages
1
Written in
2022/2023
Type
Summary

Subjects

Content preview

Steps JavaFX
1. Create project – Java, Gradle, Groovy
2. Create domain package | be.howest.ti.shop.domain
3. Add classes into the package for ex. Product, Inventory, …
4. Write functions into the classes …
5. Create a StartUp class outside the domain package to test code
6. Start on the JavaFX
a. Inside build.gradle: https://openjfx.io/openjfx-docs/#gradle




b.




c.




d.
7. Extend the class StartUp with Application (JavaFX)
a. “public class StartUp extends Application”\
b. Instead of “.run”, use launch(args)
8. Implement start (where you implement the scene)
9. Make scene in SceneBuilder
a. Give the buttons and others ID
10. Save the fxml file into the project – resources – fxml –
11. Into the start scene – StartUp:
a. Parent root = FXMLLoader.load(getClass().getResource(“/fxml/Shop.fxml”));
Scene scene = new Scene(root);
primaryStage.setScene(scene);
primaryStage.show();
12. Make package – services
a. All logical which has nothing to do with the GUI has to go in here
13. Make a ShopService
a. Manages everything, all logic regarding the Shop except the GUI
14. Go to scenebuilder
a. View – generate controller skeleton
15. New package – ui.gui – insert the controller skeleton text (event handling)
16. Inside txml link the controller – “be.howest.ti.shop.ui.gui.ShopController”
$7.88
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
xanderdjema

Get to know the seller

Seller avatar
xanderdjema
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
2 year
Number of followers
0
Documents
11
Last sold
4 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions