Michael Tar

Greenhorn
+ Follow
since May 14, 2021
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michael Tar

Hello,

I'm using Java FX 8 and Scene Builder 8.5.0 and I have a problem with adding custom LineChart control without fxml. When I'm importing this control in the SceneBuilder there is empty "Import dialog" window but in the "Library Manager" window this control is displayed as installed "Libraries/FXML Files". Scene Builder displays "Unresolved class CustomControlClass". I have tried with different custom controls.

Additionally after pressing this custom control in the "Hierarchy" tab then on the right side tabs (Properties, Layout and Code) there is error: "Selection contains unresolved reference".

Does anybody know how to resolve this problem?

Best regards
Michael
3 days ago
Hello,

I have written the JavaFX 1.8 application (I have to use this Java version) which draws several charts in different tabs in the real time. Data for each charts are receiving periodically and there is about 2 samples per second for all the charts. One chart stores 2000 samples and 4 other charts about 500 samples. Older samples are removing from the charts.

When the application is working for about 2 hours then the CPU load increases to the 100% and the application slows down a lot and there it is not possible to interact with GUI. When I reduce the number of samples to 100 per chart then there is no problem with slowing down the application.

In the code I set setAnimated and setCreateSymbols to false. For adding new samples to the charts I'm using the I also checked that there is always using Platform.runLater command. When I make the simulation in which the same data are received in the shorter time then the the slowdown of the application appears faster.

Could someone help me how to resolve problem with slowing down the application?

Best regards,

Michael
4 weeks ago