Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that shows your own RPG character (e.g., Wizard) using the different shapes found in the Graphics class. The program should ask for

Write a program that shows your own RPG character (e.g., Wizard) using the different shapes found in the Graphics class. The program should ask for a name and asks the user to choose from a list of colors using JOptionPane. The name will appear in the Graphics canvas on top of the cartoon character, while the color will be applied to the character's main parts (other parts may have colors other than the inputted color). Required: There exists at least one or more of the following: - drawOval/fillOval -drawRect/fillRect -drawPolygon/fillPolygon -drawLine -drawArc/fillArc -setColor(new Color(R,G,B)) -setFont(new Font(type, style, size)) -drawString

Sample:

http://2.bp.blogspot.com/-zuciWKkG1zI/UVdWeA9wwtI/AAAAAAAAAfg/b1K5K3Uekvw/s1600/4.jpg

Just like that, simple and just using shapes. But for this, I need to draw a mage or a wizard. Thanks!

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

Recommended Textbook for

Introductory Relational Database Design For Business With Microsoft Access

Authors: Jonathan Eckstein, Bonnie R. Schultz

1st Edition

1119329418, 978-1119329411

More Books

Students also viewed these Databases questions

Question

5. If yes, then why?

Answered: 1 week ago

Question

6. How would you design your ideal position?

Answered: 1 week ago