Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!