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

Students also viewed these Databases questions