Create an abstract representation of a generic animal

Assignment Help Programming Languages
Reference no: EM1361882

Implement an international Animal Display GUI using Object Oriented Programming and Java Internationalization. The program should be run via a JFrame; select an Animal from a list of available animals using a dropdown menu. The display must be available in at least two languages, e.g., English and French. When an animal is selected provide a panel to view a picture of that animal and a button to play the sound that the animal makes. Every animal in the hierarchy must be capable of reporting its name, return an image of what the animal looks like and play a sound file representing the noise that the Animal makes; this must be possible in both languages, i.e., the entire interface changes to the language selected. Create an abstract representation of a generic Animal that has the at least two polymorphic methods for making a sound and showing the image of the animal.

Some points to note:

An interface or an abstract class must represent the top of the hierarchy (Animal)

•The AudioClip class can be used to play sounds, this can be defined in each subclass (find a sound on the Internet, e.g., some wav/au file, or you can record your own wav if you like making animal noises)

The ImageIcon class can be used to view images, this can be defined in each subclass

•Each specific animal type must have it's own subclass, e.g., a pig should be represented by class Pig etc.

Reference no: EM1361882

Questions Cloud

Explain when a company is contemplating establishing : Explain When a company is contemplating establishing an international presence, what factors may determine whether to operate as a centralized
Design analgorithm that decides for each node : Design an O(n) algorithm that decides (schedules) for each node at which time slot to start sending data such that the total number of time (slots) is minimized.
Regaining cardiovascular endurance : A 30 year old male was able to last 9 minutes on the Bruce protocol sub-max test. What is his VO2Max? Design a six week workout program for him to help him regain his cardiovascular endurance.
Improving muscular endurance : A 25 year old male can only perform 20 consecutive pushups. Where does his range fall? Design a six week long workout protocol for him to improve his muscular endurance.
Create an abstract representation of a generic animal : Create an abstract representation of a generic Animal that has the at least two polymorphic methods for making a sound and showing the image of the animal.
Explain samsung electronic attempt to make profits : Explain Samsung Electronic attempt to make profits from rising consumer demand after the crash. Analyze how both companies attempted to make a profit after the crash
Making an investment with a return : Your firm's weighted average cost of capital is 11 percent. You believe the company should make a particular investment, but the IRR of this investment is only 9 percent.
Capital management practice analysis - automobile industry : Get a list of best practices for talent acquisition and the top five best human capital management practices within the automobile industry.
Body fat and diet program : A 5'9", 140lb 32 year old female has a body fat percentage of 32% when measured using the BodPod. How accurate is her assessment? Where does she stand? Design a one week diet program to help her reach her goals.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd