Covid-19 Status Desktop Widget | JavaFX Tutorial 2/5 | Designing Widget GUI with Scene Builder

Опубликовано: 24 Октябрь 2024
на канале: Genuine Coder
2,277
31

In this tutorial, we will create the GUI of the widget using the Scene Builder tool. The GUI shows 2 sections of data. The first section shows total-cases, recovered-cases, and total-deaths in the whole world due to Covid19. The second section shows the same values for a given country. We can get COVID data for almost all countries from the API. As of this chapter, the country field is hardcoded within the program.

We will be making use of a library called Ikonli to add an icon to our program. We will also make use of CSS styling to properly style our widget. I have used a monospace font named 'Hack'.

Ikonli: https://github.com/kordamp/ikonli
Github project: https://github.com/afsalashyana/Covid...
Font: https://sourcefoundry.org/hack/
--
Genuine coder
#JavaFX
#GenuineCoder
#Widget