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

提供方
Coursera Project Network
在此指導項目中,您將:

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
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

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.

您要培養的技能

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

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  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

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心