javaFX란?
java를 통해 데스크톱 애플리케이션을 개발할 수 있는 프레임워크입니다.
엔터프라이즈 애플리케이션을 개발할 때 가장 인기가 있다고 합니다.
1. 기본 준비물
https://www.eclipse.org/downloads/
Eclipse Downloads | The Eclipse Foundation
The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 415 open source projects, including runtimes, tools and frameworks.
www.eclipse.org
이클립스 설치
JavaFX
JavaFX JavaFX is an open source, next generation client application platform for desktop, mobile and embedded systems built on Java. It is a collaborative effort by many individuals and companies with the goal of producing a modern, efficient, and fully fe
openjfx.io
javaFX JDK 설치
https://gluonhq.com/products/scene-builder/
Scene Builder - Gluon
Drag & Drop, Rapid Application Development. Download Now Integrated Scene Builder works with the JavaFX ecosystem – official controls, community projects, and Gluon offerings including Gluon Mobile, Gluon Desktop, and Gluon CloudLink. Si
gluonhq.com
씬 빌더 설치
https://www.oracle.com/java/technologies/javase/jdk21-archive-downloads.html
Java Archive Downloads - Java SE 21
WARNING: Older versions of the JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production. For production use Oracle recommends downloading the late
www.oracle.com
JAVA JDK 설치(21 버전 이상 권장)
2. 이클립스 확장 설치
검색해서 설치 진행한 뒤 restart
javaFX 프로젝트 create
이후 프로젝트에서 Build Path - Configure Build Path...
Libraries 탭 클릭 - Modulpath - add Library..
User Library - Next > User Libraries.. -> New
Add External JARs.. 클릭 후 javaFX - lib의 모든 jar를 선택한 후 Apply and Close
프로젝트 오른쪽 클릭 - Run As - Run Configurations..
--module-path "[폴더 위치]" --add-modules=javafx.fxml,javafx.controls
Java Application - 새로 생성 - Arguments - VM arguments 에 javafx\lib 위치를 입력합니다.
Window - Preferences
SceneBuilder를 선택해주고 Apply and Close
Application run 완료!