• Ask an Expert
• Get a Professional Answer
• 100% Satisfaction Guarantee

TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1757
Experience:  M.S. in Internet Information Systems
59032869
Type Your Homework Question Here...
TheDoctor is online now

I could really really use some help with this asap, I will

Resolved Question:

I could really really use some help with this asap, I will tip big for fast help.

Create a header with the words Investment Analysis for the applet. This header must use a different font and a different point size from the rest of your text components. Place appropriate directions in the applet window to inform the user what he/she must do to use the applet. Make sure each JTextField object for data entry has a descriptive label immediately to its left. Each "slice" of the pie chart must be a different color. Make sure that all the pieces of the pie add up to a full pie (100% or 360 degrees of the circle). There should be no gaps between the pieces of the pie. You can determine the size of each piece of the pie by dividing the respective amount invested by the total amount invested. For example, \$100 is invested in the high risk (red) category, \$200 in the medium risk (green) category, \$300 in the low risk (yellow) category, and \$400 in the no risk (blue) category for the chart above. The high risk piece of the pie can be calculated as 100 divided by (100 + 200 + 300 + 400) or 100 / 1000 or 10%. Therefore the high risk (red) piece of the pie is 10% of the total pie. Add a legend to the chart that identifies which color represents each of the four risk categories. One way to do this is to have the color of the descriptive label and the color of the dollar amount match the color of the pie slice it represents. You may also have a separate legend in the applet window that has four rectangles. Each rectangle would be filled with a color from the pie chart. Add a label for each rectangle indicating whether the color it displays is for no risk, low risk, medium risk, or high risk. Your legend must make use of different colors as in these examples. The height and width parameters of the html APPLET tag "fix" the size of applet. Use the FlowLayout to automatically position the Swing components. With these in place, hard code the placement of the pie chart so that it doesn't overlap the Swing components. (The advanced Java class shows you a better way to prevent the Swing components and the graphics from overlapping.) Test your applet with a variety of dollar amounts for the various risk categories. The user must be able to enter dollars (integers). There is no need to enter cents. Make sure your applet and graph still displays appropriately after the window is minimized and then restored. Do not display the legend or any part of the pie chart before the user hits the enter key from the fourth JTextField object the first time. You may want to use an array to manage the 4 JTextfield components and the 4 JLabel components for the dollar amounts. However using an array is not required.
Submitted: 3 years ago.
Category: Homework
Expert:  LogicPro replied 3 years ago.
Hi,
Welcome back
If you have any file(s). Zip, upload the file to http://wikisend.com and post download link here.
What is the deadline?
Customer: replied 3 years ago.

I currently don't have any file to go off of, as I said I had tried writing the code but it was a complete mess and now am pretty much out of time.

The deadline if possible is in about 14 hours, if it could be done sooner that would be really helpful.

Expert:  LogicPro replied 3 years ago.
I will check it and let you know ASAP.
Customer: replied 3 years ago.

Thank you so much, please let me know if there is anything else needed.

Expert:  LogicPro replied 3 years ago.
I will reeview it and reply you in 1-2 hours.
Customer: replied 3 years ago.

Hi I was wondering if you had an update on my question?

Expert:  LogicPro replied 3 years ago.
I will let you know ASAP.
Expert:  LogicPro replied 3 years ago.
My apologies. I am out of ideas and opting out for other Professionals to answer. Please wait. You will be notified by email as soon as any Professional joins you or you can post a new question.
Thank you for your patience.
Expert:  TheDoctor replied 3 years ago.
Hello and thank you for using JustAnswer. It would be my pleasure to assist you with this.

I will contact you once this is complete.

Thank you
Customer: replied 3 years ago.
Thank you I am currently running close on time for it. Again thank you for your assistance.
Expert:  TheDoctor replied 3 years ago.
Hello again!

You can download the completed assignment here:

Your applet and HTML file are index.html and InvestmentApplet.jar

You would need to place this on Tomcat in order to run it.

The project files with all of the source are in project.zip inside of this zip file.

Let me know if you have any questions. I'm here to help.

Please remember rate my answer. Thank you so much!
Expert:  TheDoctor replied 3 years ago.
THIS ANSWER IS LOCKED!

You need to spend \$3 to view this post. Add Funds to your account and buy credits.
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1757
Experience: M.S. in Internet Information Systems
TheDoctor and 3 other Homework Specialists are ready to help you

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Previous | Next >
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
• This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
• Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
• I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
• Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
• Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
• He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX

• LogicPro

Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >

LogicPro

Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Satisfied Customers:

4538
More than 5000 online tutoring sessions.

Linda_us

Satisfied Customers:

3138
Post Graduate Diploma in Management (MBA)

Chris M.

Satisfied Customers:

2602
Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

Satisfied Customers:

2126
Experience with chartered accountancy

Bizhelp

Satisfied Customers:

1887
Bachelors Degree and CPA with Accounting work experience