Hi there!
I have following problem.
I created a frame with controls in it like Labels and buttons.
What I want to do is, that one labe should show me the time in second-clock.
My Code in the function init() of the JavaFX-Frame is:
The problem ist, that the time does not increase.
Please help me... thanks to all.
I have following problem.
I created a frame with controls in it like Labels and buttons.
What I want to do is, that one labe should show me the time in second-clock.
My Code in the function init() of the JavaFX-Frame is:
Java:
Thread thread = new Thread()
{
public void run()
{
String strTime = objFF.getTime();
objLabelTime.setText(strTime);
}
};
thread.start();
The problem ist, that the time does not increase.
Please help me... thanks to all.
Zuletzt bearbeitet: