Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We just start to learn the javaFX, so I just know some basic staff in javaFX, could anyone help me to write the code clearly?

image text in transcribed

image text in transcribed

We just start to learn the javaFX, so I just know some basic staff in javaFX, could anyone help me to write the code clearly? I want to learn from it. thank you so much.. by the way, for problem 1, the pictures of cards folder name as from 1.png to 52.png

Homework 08: JavaFX Basics General Directions: Please read very carefully for each assignment! Programs must be uploaded to CSNS before the due date and time. No late submissions. No email submission. Programs must meet all requirements. (No Credit) for programs which do not use Object Oriented Programming techniques. (No Credit) for programs which do not make proper use of methods and other techniques learned from CS-2011 (No Credit) for program written entirely in the same .java file. See syllabus for additional grading criteria. General Description: For this assignment you will practice the JavaFX techniques shown in class this week. Please put each problem into a separate java file. Please use package name hw8. For this assignment you are NOT allowed to show any console output Problem 01: Random Cards (1 point) Download images for a deck of cards here. Have your program randomly choose seven cards and display them in a JavaFX window. All seven cards should be displayed in the same window. The card images should be stored in a folder called cards, in your project. Problem 02: Funny Faces (1 point) Using the JavaFX Shapes library, draw and display a funny face. The face should be on a head, and should have eyes, nose, mouth, and any other features you would like to add. Be creative, but please keep things school appropriate. Problem 03: Maddening Matrices (2 points) For this problem you will need to request some user information. You may NOT use the console to do this. I suggest taking a look at the JOptionPane class in the Java API. Ask the user for the size of an n x n matrix (rows and cols are equal). Display a picture like the one below with the following requirements: Homework 08: JavaFX Basics General Directions: Please read very carefully for each assignment! Programs must be uploaded to CSNS before the due date and time. No late submissions. No email submission. Programs must meet all requirements. (No Credit) for programs which do not use Object Oriented Programming techniques. (No Credit) for programs which do not make proper use of methods and other techniques learned from CS-2011 (No Credit) for program written entirely in the same .java file. See syllabus for additional grading criteria. General Description: For this assignment you will practice the JavaFX techniques shown in class this week. Please put each problem into a separate java file. Please use package name hw8. For this assignment you are NOT allowed to show any console output Problem 01: Random Cards (1 point) Download images for a deck of cards here. Have your program randomly choose seven cards and display them in a JavaFX window. All seven cards should be displayed in the same window. The card images should be stored in a folder called cards, in your project. Problem 02: Funny Faces (1 point) Using the JavaFX Shapes library, draw and display a funny face. The face should be on a head, and should have eyes, nose, mouth, and any other features you would like to add. Be creative, but please keep things school appropriate. Problem 03: Maddening Matrices (2 points) For this problem you will need to request some user information. You may NOT use the console to do this. I suggest taking a look at the JOptionPane class in the Java API. Ask the user for the size of an n x n matrix (rows and cols are equal). Display a picture like the one below with the following requirements

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Apply We First marketing to a social media campaign.

Answered: 1 week ago

Question

Employ effective vocal cues Employ effective visual cues

Answered: 1 week ago