Find Jobs
Hire Freelancers

Java code to draw different shapes

$10-30 USD

En cours
Publié il y a plus de 8 ans

$10-30 USD

Payé lors de la livraison
Programming Assignment 3 PURPOSE AND REQUIREMENTS: Your application must contain at least one abstract class, and must perform proper inheritance according to software design concepts discussed in class. In other words, a class must contain only the proper and necessary methods and instance variable. Recall at the end of chapter 8 (check attached presentation) of the Java How to Program 10/e there was an example GUI/Graphics-based application that draws random lines. Also at the end of chapter 10 of the same book there was an example that shows a my shape hierarchy (last slide). In this assignment you are to modify the program in chapter 8 to draw not only lines but different shapes randomly inside the panel. These shapes will be implemented according to inheritance hierarchy in figure 10.18 in the last slide of chapter 10. Therefore the panel must have different lines with different colors and lengths, different rectangles with different colors and sizes, and different ovals with different colors and sizes, all generated randomly similar to the example in chapter 8. In addition to shape color, the rectangle and the oval will also have a fill color, so you can fill them with different colors generated also randomly. Once the shapes are generated and drawn on the screen, your program must properly print on the console a list of the colors used in the drawing in the format <R,G,B>. Once this list of colors comes out to the screen, you need to follow that with printing the color ranges for each RGB value used, similar to the following example: Example: <20,214,145> <79, 222, 123> . . . <198,43,100> The Red Range was: 20 - 242 The Green Range was: 120 - 234 The Blue Range was: 89 - 245 You may not use any Java pre-built methods to generate the above information, you must develop its you on your own. Note: Include an Interface called “Printable” which allows you when drawing the specific shape to display on the console (character based) information about each shape. The following information will be required to display about each shape: 1. For a line, (x1, y1, x2, y2, color, length, and the slope) 2. For a rectangle (x1, y1, x2, y2, color, fill color, area, and perimeter) 3. For an oval (x1, y1, x2, y2, color, fill color area, and perimeter) Your program must display the above information about each shape drawn in the panel, and must display it sorted according to the length/area. So yes, you will compare the area of a rectangle/oval to the length of a line. You can use your favorite sorting algorithm to do that. Also, you must label each information correctly to indicate if it is a line, rectangle or an oval. IMPORTANT NOTE: ^^^^^^^^^^^^^^^ Proper design of classes is going to be looked for and graded, so you must design your code properly and be able to explain your design. Need 2 copies with different logic. This is a very small project, half of the code is already in the presentation. Need the code in 2 days, only interested one's bid the project.
N° de projet : 8874342

Concernant le projet

18 propositions
Projet à distance
Actif à il y a 8 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
18 freelances proposent en moyenne $42 USD pour ce travail
Avatar de l'utilisateur
Hello I'm interesting your project very well I'm a Good Java, Math, Algorithm expert. I understand your req exactly. I m quite well experienced in these assignment jobs. Let's go ahead with me I want to service for you continously. Thanks
$40 USD en 1 jour
4,9 (507 commentaires)
8,7
8,7
Avatar de l'utilisateur
Dear Sir, I am TOP RANKED Java programmer with 10+ years of experience. Done 700+ projects on this site. I am very interested in your project. Please award me this project.
$35 USD en 2 jours
4,8 (441 commentaires)
7,4
7,4
Avatar de l'utilisateur
A proposal has not yet been provided
$26 USD en 1 jour
4,9 (628 commentaires)
6,8
6,8
Avatar de l'utilisateur
Hello My name is Ahmed, i passed freelancer java exam with top 10% rated plus i got 2 java certificate 1Z0-803 and 1Z0-804 with 3+ years experience. small overview of feedback on my profile “professional , the best , if u have any problem in java , i would recommend Ahmed” "Highly recommended , smart , on time ,high experience and he did a difficult assignment that others couldn't finish . will hire again" “Awesome job as usual highly recommended very dedicated and satisfying A+++ Thank you for this great job” looking forward to work with you Regards
$30 USD en 2 jours
4,9 (404 commentaires)
6,6
6,6
Avatar de l'utilisateur
i am experiment java 2d swing developer
$45 USD en 1 jour
5,0 (89 commentaires)
5,8
5,8
Avatar de l'utilisateur
Look forward to discuss further about the project details and deliver the same to your needs .
$64 USD en 1 jour
4,9 (21 commentaires)
5,5
5,5
Avatar de l'utilisateur
We are expert in Java and J2EE technologies and have completed numerous projects and assignments. Our skills and some of our completed projects can be seen on our profile page https://www.freelancer.com/u/Javagurupk.html. Let us to complete this project for you.
$24 USD en 1 jour
4,9 (62 commentaires)
5,5
5,5
Avatar de l'utilisateur
A proposal has not yet been provided
$50 USD en 3 jours
4,8 (17 commentaires)
4,2
4,2
Avatar de l'utilisateur
We are Egyptian team, and i am sure that you will get our work is a great as you expect, all of team have a diploma in javaSE, JavaEE, JavaFX using many technologies like Struts1, Struts2, Hibernate, JPA, Spring, Spring MVC, Spring Security, EJB, JSF, Primefaces, Webservices and all of us familier with XML, Javascript, AJAX, Web Services .. etc Also we have members who have a diploma in Andriod, JavaME, IOS, Blackberry applications. We are a team of programmers who have many skills in programming generally and in java specifically. we worked on a projects for a big companies like vodafone, Etisalat and many banks. We have knowledge about many fields of business. I can assure that you'll get your work done in an efficient way.
$55 USD en 1 jour
4,8 (18 commentaires)
4,2
4,2
Avatar de l'utilisateur
hello your project is quite simple for me. i can do it easily. kindly reply thank you
$30 USD en 0 jour
4,8 (15 commentaires)
3,9
3,9
Avatar de l'utilisateur
Hi Sir, I am expert developer. I can do your project easily. Contact me so I can start working soon. Waiting for your quick response. Regards Qasim Saleem
$30 USD en 1 jour
4,9 (12 commentaires)
3,2
3,2
Avatar de l'utilisateur
Hit me up on chat if you would be interested to talk some more about the project and terms. I have a lot of java experience so i believe i could do this quickly and efficiently.
$40 USD en 2 jours
4,6 (3 commentaires)
3,3
3,3
Avatar de l'utilisateur
A proposal has not yet been provided
$30 USD en 3 jours
4,9 (5 commentaires)
2,6
2,6
Avatar de l'utilisateur
A proposal has not yet been provided
$15 USD en 2 jours
4,4 (2 commentaires)
2,4
2,4
Avatar de l'utilisateur
A proposal has not yet been provided
$35 USD en 1 jour
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
Just Trust Me.. Let me show you, what i am capable of :) ----------------------------------------------------------------------
$55 USD en 3 jours
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
A proposal has not yet been provided
$111 USD en 15 jours
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de UNITED STATES
Houston, United States
3,8
4
Membre depuis sept. 22, 2015

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.