COMSC 110 Introduction to Computer Science I
COMSC 110 Introduction to Computer Science
Summe
Final Project: Java Graphics and GUI Design
Due Date: 8am on Friday, 6/18/21
Save your program in a file called GUIGroupXXX.java, where XXX is your group number last initials. Each group
can have 1-2 members.
Description
This project involves creating a graphical user interface application, and will be accomplished in two main phases:
• Create and test your graphics and GUI in jGrasp;
Create and test your GUI
Create a graphical user interface with any possible theme or topic:
• Sports
• Pets
• School Spirit
• Ho
ies
It doesn't matter which topic area you pick. Be creative and in good taste. Consider the Magic 8 Ball.
Requirements:
• Your picture must make use of colors (for a whole list of RGB colors you may refer to:
http:
www.tayloredmktg.com
g
), and it must use at least four graphics elements – shapes or images.
Make some of your shapes filled and others unfilled.
• Your GUI design must have at least 3 different UI controls – Buttons, TestFields, ComboBoxes, etc. and at
least one user generated event – button click, mouse click etc.
• Clean, well-organized GUI layout (may want to use panes)
• Follow style guide and write clean code
• Here’s the java FX API: https:
docs.oracle.com/javase/8/javafx/api/toc.htm
Test your program using jGrasp. After editing, compiling, and testing your program, upload your Java source code
(GUIGroupX.java) to the Bridges under Assignments -> Final Project.
Extra Credit: A maximum of 10% extra credit will be awarded for projects that go significantly beyond the
minimum requirements.
Any questions before your presentation should be directed to XXXXXXXXXX.
http:
www.tayloredmktg.com
g
https:
docs.oracle.com/javase/8/javafx/api/toc.htm
mailto: XXXXXXXXXX
Install JavaFX (for GUI work): https:
www.youtube.com/watch?v=trAYvIt9mgk
· As of Java 11, JavaFX is no longer included in the Java distribution. To use it, you will need to download JavaFX and modify jGRASP compiler flags. Simpler settings for JavaFX will be added in a future jGRASP release.
· JavaFX is available here: https:
openjfx.io/ or https:
gluonhq.com/products/javafx
· Download and extract the appropriate JavaFX SDK for your OS.
· Follow the instructions at the following site depending on the version of JGrasp you are using. https:
www.jgrasp.org/javafx.html
Notes for windows users: you need to unzip the downloaded JavaFX package and linked the path of the downloaded folder (maybe one more layer) to the jGrasp.