Create a JavaFX movie rater GUI with combo box and a slider

Offered By
Coursera Project Network
In this Guided Project, you will:

Use JavaFX to create a simple GUI where a user selects movies from a combo box, rates the movie using a slider, and clicks a button to show details.

Clock2 hours
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this project, you will create a simple GUI movie rater in jGrasp using the JavaFX framework. The components of the interface will be arranged in a Grid Pane container. A template program for rating a movie is provided to which you will create and add a combo box with a list of movies, and a slider with ratings from 0 to 5. When you click on a button the program will display the selected movie, and selected rating.

Skills you will develop

  • Javafx
  • GUI programming
  • Java Programming
  • Slider
  • Combo Box

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Create the stage, layout, and scene

  2. Create a combo box

  3. Display selected combo box choice

  4. Create a slider and set major tick units, tick marks and tick labels

  5. Display the selected slider choice

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.