Purchase Solution

JAVA Program: Select and Draw Shape from JComboBox

Not what you're looking for?

Ask Custom Question

Please assist in writing a JAVA program that allows the user to select a shape from a JComboBox and that then draws that shape 20 times with random locations and dimensions in method paint(). The first item in the JComboBox should be the default shape that is displayed the first time paint() is called.

Purchase this Solution

Solution Summary

The solution writes a JAVA program that allows the user to select and draw a shape from a JComboBox.

Purchase this Solution


Free BrainMass Quizzes
C# variables and classes

This quiz contains questions about C# classes and variables.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.