hantsy / cargotracker-regapp Goto Github PK
View Code? Open in Web Editor NEWCargotracker RegisterApp Client written in JavaFX
License: Apache License 2.0
Cargotracker RegisterApp Client written in JavaFX
License: Apache License 2.0
I added a @PostConstruct
to initialize data into a form, but I found it did not work as expected.
It is very strange the init method is called when hitting the submit button.
Caused by: java.lang.NullPointerException: Cannot invoke "javafx.scene.control.ComboBox.setItems(javafx.collections.ObservableList)" because "this.eventTypeField" is null
at org.eclipse.cargotrakcer.regapp.ui.HandlingReportController.init (HandlingReportController.java:61)
In the back of CDI and Java FX integration, I used javafx-weaver to load the controller class and FXML files.
When submiting report data, https://github.com/hantsy/cargotracker-regapp/blob/master/src/main/java/org/eclipse/cargotrakcer/regapp/ui/HandlingReportController.java#L70
If I used @FXML private void onSubmit()
, it will throw exception info like HandlingReportService is null, it seems the HandlingReportService
injection is not worked as expected.
When I used a public method public void onSubmit()
, the JavaFX components will not be recognized, it will throw exception info this.completionTimeField is null, thus I can not read the values from JavaFx components.
Add an icon from eclipse-ee4j/cargotrakcer to the title bar.
Converts project source codes into smaller Java9 modules.
https://www.oracle.com/corporate/features/understanding-java-9-modules.html
Add a background image, display blur vessel in the background.
Currently when building the application into a jar file, it requires a JavaFX runtime to start up it.
We could use module-info.java to assemble the java application and start up the Application without dependencies(JRE, JavaFX runtime)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.