GUI Design will be provided.
For this project, apply the following concepts:
event handling
interfaces
inner classes
inheritance
encapsulation
aggregation/composition (creating a class that contains objects derived from other classes)
Specific instructions:
The class that contains the main method should be named Greeting.
The visual elements of your greeting card (i.e. the objects that you will be animating) should be derived from individual classes. For example, if you want to draw a sun, then create a class called Sun that draws the object. If you want to draw a cloud, then create a class for that as well. All of these classes should implement an interface called DrawingObject.
The DrawingObject interface should contain the following abstract methods:
void draw( Graphics2D g2d, AffineTransform reset ) // for drawing the object
void animate() // for animating it
Write these three (3) classes that implement the DrawingObject interface:
Square
This class will be responsible for drawing a square and animating it
the square can be filled or just has a stroke or both *stroke refers to outline or border
must have fields for the following:
x position
y position
size
Circle
This class will be responsible for drawing a circle and animating it
the circle can be filled or just has a stroke or both *stroke refers to outline or border
must have fields for the following:
x position
y position
size
Line
This class will be responsible for drawing a line and animating it
must have fields for the following:
x position for starting point
y position for starting point
x position for ending point
y position for ending point
*You may add other fields and methods to your classes
In addition, create a few more classes that also implement the DrawingObject interface:
at least two (2) more additional classes for basic shapes (e.g. triangle, pentagon, octagon, etc...)
at least two (2) additional classes that create composite shapes : shapes that are aggregations/compositions of your basic shape classes (e.g. a Sun object can be composed of a Circle object for the sun's center, and a couple of Triangle objects for the rays)
Finally, write a class called DrawingComponent, which will serve as your main drawing area. This class should be a subclass of JComponent.
The DrawingComponent class should contain:
an ArrayList of DrawingObject objects
the override of the protected void paintComponent( Graphics g ) method
a method named animateAll() that invokes the animate() method of all your DrawingObjects
Other Instructions:
The use of images is NOT allowed.
The animation need not be continuous. It can be done by requiring the user to repeatedly click on a button.
Resolution: 1024 x 768 (landscape)
Place the source code certification at the top of each java file
Hi!
I'm interesting your project very well.
I am good at Java and I'm a good Algorithmer.
And also I have many experience and good skill about JavaSwing and JavaFx development.
Let's go ahead with me
Hey
A Java expert developer is here
I have good advanced expertise in Java and Javafx
I can build a GUI for you as per your requirements
This is an initial bid
Feel free to message me
Regards
Hi,
I am a software developer with 7+ years of experience especially in Java, C# and PHP. I have worked for different multi national companies like Infosys Technolgies & TCS and also for a startup organization.
I am quite able to handle and complete projects both as an Individual and in a team.
Please provide me a chance to work for you and I am sure you will like my work and we will remain in touch for a long time.
Some of my previous works include:
1. Create a media player using Java swing.
2. Created Pension Payment website for Churches using PHP Laravel.
3. Created a rule based engine for configuration problems.
4. Worked on a network monitoring application development.
5. Worked on a SQL server monitoring application development.
6. Worked on projects for banks like Royal Bank of Scotland and Deutsche Bank.
7. Worked on quoting tool for a reputed networking company.
As a developer & freelancer, my core values are
- Customer Satisfaction and
- Problem Solving
Thanks & Regards,
Vishal Sahu
+91-7042218498
Programming is passion
Hi, I have 2 years experience with Java, I've worked with Java Swing and I can make all your requirements quickly and successfully. I hope to not disappoint you and will be glad to help you. Thanks.
Mabuhay!
Good Day, We are a group of Computer Engineers with experience in both software and hardware development. We have been doing software developmeny for 3 years now. Having the necessary experience and knowledge, we can help you out on your project.
We have done an information system using object oriented programming using java. Hope to hear from you soon! Cheers!
am expert in java graphic design. i have worked on many projects if you want graphic using coding than it can be possible by me and if you want java(GUI) using java drag and drop than i can do thanku