Skip to content

danielcregg/javaFX-gitpod-helloworld-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaFX Gitpod basic HelloWorld Demo

To run this JavaFX program on Gitpod:

  • First open his repository on Gitpod by clicking the below button

    Open in Gitpod

  • 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.

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

No packages published