-
First open his repository on Gitpod by clicking the below button
-
When you have this repository open in Gitpod click on the ports button in the blue bar at the bottom of the Gitpod screen.
-
Select "Open Browser" - This will open a new browser tab on which your javaFX GUI will be displayed when we run the program.
-
Go back to the tab in which you have Gitpod running. You will see a terminal window at the bottom of the screen. One of the tabs will say Open Ports. Kill that tab. Now you should see a terminal prompt. Run the following command:
javac HelloWorld.java && java HelloWorld
-
Go back to the other tab you opened and you should be able to see a basic JavaFX GUI. Refresh the tab if it looks grey or has become disconnected.
-
Notifications
You must be signed in to change notification settings - Fork 9
danielcregg/javaFX-gitpod-helloworld-basic
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This is a repo which helps beginners to run a basic JavaFX GUI on Gitpod. #Gitpod #JavaFX
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published