Covid-19 Status Desktop Widget | JavaFX Tutorial 4/5 | Finishing the Application Development @GenuineCoder
Covid-19 Status Desktop Widget | JavaFX Tutorial 4/5 | Finishing the Application Development  @GenuineCoder
Uploaded April 2020 | Updated September 2026, 3 weeks ago
In this chapter, we will make the hardcoded values user editable by moving them to a JSON file. We will make use of the GSON library to convert a java model POJO class to JSON string and vice versa. 3 values will be stored in the settings file.
1. The interval at which the scheduler should refresh the data from API.
2. The country of which we need the COVID data
3. Country code

When the application starts, these values will be read from the file and used. If the file doesn't already exist, then it will be created with default values.

GSON Library: github.com/google/gson
Github project: github.com/afsalashyana/Covid19-Desktop-Widget
--
Genuine coder
#JavaFX
#GenuineCoder
#Widget
Covid-19 Status Desktop Widget | JavaFX Tutorial 4/5 | Finishing the Application DevelopmentJava Webcam Capture for Beginners #4 : Video Feed from Webcam ( Easy Way )JDBC Tutorial for Beginners #3 : Reading Data from MySQL DatabaseAI learning to walk and run with neuroevolution and deep learningBuild Spring Boot REST API | GET and POST Methods | Chapter #3JavaFX Circular Reveal Scene Transition AnimationNetBeans GUI Builder - JFrame and JButtonJavaFX Slide Transition Animation for ScenesJavaFX Library Software #11 : Selecting Book For Issue OperationJavaFX Material Design Library Project #39 : Improving Renew/Submission UIJDBC Tutorial for Beginners #6 : Display database query results in a TableJava Webcam Capture for Beginners #2 : Take Images with Different Resolutions
Genuine Coder |

Covid-19 Status Desktop Widget | JavaFX Tutorial 4/5 | Finishing the Application Development

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER