JavaFX Displaying Time and Refresh in Every Second
<p>Hello I would like to ask for any advice on this problem.</p>

<p>I would like to display current time in HH:MM:SS format (refreshing every second) in label or whatever component that is good for it.</p>

<p>Any advice?</p>

<p>EDIT: Someone asked for a code.. so I put it here for better description of the problem. "I have no code for that time What I'm trying to achieve is simple GUI diary and in one of the labels I would like to display time remaining until the closest event and in the other label I want to display like clocks that refreshes every second. I need it to get remaining time working. All I can think of is creating new thread that will do it and refreshes the clock, but I am not that advanced to use multithreading in JavaFX . So I was wondering if anyone can advice me with something less complicated than multithreading (I dont know how to implement that thread into JavaFX components)"</p>