Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

khianvictorycalderon/my-first-javafx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sample JavaFX Project

A minimal JavaFX example showing a simple window with a label.

Requirements

  • Java JDK 17 or higher
  • JavaFX SDK 26 (Download)
  • VS Code (optional, but recommended)

Setup

  1. Place the JavaFX SDK somewhere on your computer (e.g., C:\javafx-sdk-26).
  2. Save samplejavafx.java in a folder.

Compile and Run (Windows)

Open terminal in the project folder:

javac --module-path "C:\javafx-sdk-26\lib" --add-modules javafx.controls <filename>.java
java --module-path "C:\javafx-sdk-26\lib" --add-modules javafx.controls <classname>

About

A simple test of JavaFX (User Interface Application)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages