0
인터넷에서 다음 JavaFx 코드를 찾았지만 실행할 위치 또는 가져올 라이브러리를 모른다. 나를 이해하는 데 도움이 바랍니다 ..JavaFx 다른 코드
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.shape.Rectangle;
import javafx.scene.paint.Color;
import javafx.animation.transition.PauseTransition;
import javafx.animation.transition.SequentialTransition;
import javafx.animation.Timeline;
var fillColor: Color.BLUE;
Stage {
title : "MyApp"
scene: Scene {
width: 400
height: 200
content: [
Rectangle {
x: 10, y: 10
width: 140, height: 90
fill: bind fillColor
}
]
}
}
는 더 start
방법과 코드에서 extends Application
클래스가 없습니다. 미리 감사드립니다.
JavaFX 1.x처럼 보입니다. 더 이상 지원되지 않습니다. –