Status of working application
Show the status (various images) of working application in the browser.
We will use for it the technology javaFX.
So we need to create:
- ImageView, Image with all images;
- Timeline that will check a status every second;
- Scene that will change an image if the status is changed.
But where will our program get this status? What happens when user clicks on image’s area?
The (e.g.) Winstone server starts working and invokes application. And this application contains status that we can get. It is necessary to send http-request only, what is the direct function of our program.