Practice 4 (Year 3 Sem 1)

Practice 4 is the fourth practice in semester 1 of year 3, and the fourth practice in the total of year 3. It is a practice for JavaFX with SceneBuilder, and is considered to be moderately easy.

Description
No description was provided for this practice.

Unlocked after completion

 * OCD (Score at least 60% for Extra Practice 4: JavaFX with Scene Builder)
 * GUI Builder (Score at least 80% for Extra Practice 4: JavaFX with Scene Builder)

Question
Use Scene Builder to design quadratic calculator program with the following GUI. Complete the code required in the event handler such that the value of x1 and x2 will be shown when user clicks on the Solve button. EXPLORING CSS: One cool feature of JavaFX is the ability to style your Java Application with Cascading Style Sheet (CSS). Follow the tutorial listed below to style your calculator from activity 2 using CSS.  http://docs.oracle.com/javafx/2/get_started/css.htm The final GUI should look like this: You should demo your end product to your teacher BEFORE you finalize submission. Zip your ENTIRE project folder and submit that zip file:  

Question
Use Scene Builder</b> to design the GUI of a simple temperature converter program as shown below. <span style="font-family: Arial, sans-serif;" lang="EN-GB">Some things to note: <ul> <li> <span style="font-family: Arial, sans-serif;" lang="EN-GB">Yo should use a GridPane (4 rows by 2 columns) to layout your controls (found under Container panel in Scene Builder) Select a row, then Right Click to add a new row or column </li> <li> <span style="font-family: Arial, sans-serif;" lang="EN-GB"> <span style="font-family: Arial, sans-serif;">Font used is Britannica Bold, size 46. </li> <li>The “Convert Now!” bottom spans two cells in the grid pane. This can be achieved by clicking on the button control, under Layout Panel &gt; Column Span &gt; 2.</li> <li>Use a try-catch to perform error handling of invalid input (you may add another label after the convert button to display error message).</li> </ul> After you have completed the UI, write relevant code in the button click event handler such that the program will be able to convert any input celsius value to fahrenheit and kelvin. Note that your program should follow the MVC model, where the fxml file is the View, and the event handling code is in the Controller file (there will not be a Model in this exercise). Do relevant exception handling such that an Error Dialog will be shown if user keys in invalid data (e.g. "ABC"). Add a hyperlink on the bottom right of the GUI with text "About the Programmer". Add relevant code such that a new window will pop up when user clicks that button. The new window should have information about the programmer (i.e. you). Add your avatar to the window. You should demo your end product to your teacher BEFORE you finalize submission.</b> Zip your ENTIRE project folder and submit that zip file:</b>  </b>