는이 같은 일부 로딩 점을 만들고 싶어요 :자바 FX 2 동적 도트 로딩
At 0 second the text on the screen is: Loading.
At 1 second the text on the screen is: Loading..
At 2 second the text on the screen is: Loading...
At 3 second the text on the screen is: Loading.
At 4 second the text on the screen is: Loading..
At 5 second the text on the screen is: Loading...
을 등 I는 Stage
을 닫을 때까지.
JavaFX에서 가장 쉽고/간편한 방법은 무엇입니까? 나는 JavaFX에서 애니메이션/프리 로더를 조사해 왔지만이를 달성하려고 할 때 복잡해 보입니다. 내가 사이에 루프를 만들려고했습니다
이 세 Text
:
Text dot = new Text("Loading.");
Text dotdot = new Text("Loading..");
Text dotdotdot = new Text("Loading...");
하지만 화면이 정적 유지 ...
가 어떻게이 작품은 자바 FX 제대로 만들 수 있습니까? 감사.
매우 유용합니다, 감사합니다! –