How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask TheDoctor Your Own Question

TheDoctor
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1422
Experience:  M.S. in Internet Information Systems
Type Your Homework Question Here...
TheDoctor is online now
A new question is answered every 9 seconds

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: 1 year ago.
Category: Homework
Expert:  LogicPro replied 1 year 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 1 year 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 1 year ago.
I will check it and let you know ASAP.
Customer: replied 1 year ago.

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

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

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

Expert:  LogicPro replied 1 year ago.
I will let you know ASAP.
Expert:  LogicPro replied 1 year 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.
I will help you with your other questions though
Thank you for your patience.
Expert:  TheDoctor replied 1 year 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 1 year ago.
Thank you I am currently running close on time for it. Again thank you for your assistance.
Expert:  TheDoctor replied 1 year 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 1 year ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1422
Experience: M.S. in Internet Information Systems
TheDoctor and 14 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
< Last | 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
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3121
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3035
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/lanis/2009-4-1_233717_phput9xef_c1pm.jpg Lani S.'s Avatar

    Lani S.

    Tutor

    Satisfied Customers:

    2457
    Registered Nurse, Internet Researcher, Private Tutor
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2341
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1975
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1873
    Bachelors Degree and CPA with Accounting work experience