A minimal JavaFX Hello World application configured to run in the cloud using Gitpod with VNC desktop support, enabling browser-based GUI development without any local setup.
This project demonstrates the simplest possible JavaFX application running entirely in the browser via Gitpod. It creates a window with a single button that prints "Hello World!" to the console when clicked. The Gitpod configuration includes a VNC-enabled workspace with OpenJFX pre-installed, making it an ideal starting point for learning JavaFX without local environment setup.
- Minimal JavaFX Hello World application with button interaction
- One-click Gitpod deployment for instant cloud-based development
- VNC desktop environment for rendering JavaFX GUI in the browser
- Pre-configured Dockerfile with OpenJFX and Matchbox window manager
- Zero local setup required
-
Click the button below to open this project directly in Gitpod:
-
Alternatively, clone and run locally (requires JavaFX):
git clone https://github.com/danielcregg/javaFX-gitpod-helloworld-basic.git cd javaFX-gitpod-helloworld-basic
- When Gitpod opens, click the Ports button in the bottom status bar.
- Open port 6080 in the browser to view the VNC desktop.
- In the Gitpod terminal, compile and run the application:
javac HelloWorld.java && java HelloWorld - Switch to the VNC browser tab to see the JavaFX GUI. Click the button to print "Hello World!" to the console.
- Language: Java
- Framework: JavaFX (OpenJFX)
- Cloud IDE: Gitpod
- Desktop: VNC via gitpod/workspace-full-vnc
- Window Manager: Matchbox
This project is licensed under the MIT License. See the LICENSE file for details.