Create an applet that contains: Use swing components with action listeners and t
ID: 3584256 • Letter: C
Question
Create an applet that contains: Use swing components with action listeners and their porperties to add images and Change fonts, colors, sizes. 1. One Flowlayout 2. Two 2-integer arrays(see figure 1) Number of people Cost per Person($) 1-24 $27.00 25-49 $25.00 50-99 $22.00 100-199 $19.00 200-499 $17.00 500-999 $14.00 1000-over $11.00 FIGURE 1 - Fee Structure 3. Four Labels 4. Two buttons (with your own images and text) 5. Two text boxes a. Uses a sliding fee scale to estimate the cost of small or large numbers of guests. Figure 1 shows the fee structure. b. Write a applet that let the coustumer enter the number of expected guests and output the cost per guest or the cost per the number of - A button that displays the fee per person. - A button that displays the fee for the event (the cost per person times the number of people.) Also like allow the customer to continue to request and view as many results as desired without leaving the page. When the customer leaves the page, it will erase the last munber of requested people and ensure that the next customer start fresh with a blank text field that the number of people. Feel free add color and pictures to your buttons and any additional effects to this project. Save the file as JPartyPlanner1.java Finally , write an HTNL document named TestJPartPlanner1.html that display customer applet and make sure it correctly outputs the cost per person or event as shown in Figure 2. GIVE A HAND EVENT PLANNING How many people will be attending? 14 Calculate per person Calculate total cost Per person cost is $ 27.00 Figure 2.- Cost per Person. GIVE A HAND EVENT PLANNING Event Planning How many peole will be attending ? 14 Calculate per person Calculate total cost Event cost is $378.00 Figure 3. Event Cost for 14 PeopleExplanation / Answer
https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CEEQFjAB&url=http%3A%2F%2Fcdn.transtutors.com%2FUploadAssignments%2F217654_4_JPartyPlanner.java..doc&ei=FO7vUMvkJcH5rAeMw4DgAg&usg=AFQjCNFeBfpVcnAQRW4sCuHLkvZlyL-iKw&sig2=DG-siawUDOW4xum64uxJiw&bvm=bv.1357700187,d.bmk https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&ved=0CEkQFjAC&url=http%3A%2F%2Fwww.coderanch.com%2Ft%2F593404%2FApplets%2Fjava%2FApplet-background-image&ei=FO7vUMvkJcH5rAeMw4DgAg&usg=AFQjCNGZylcb-h1jh1QHax8Rny6cv-mY4Q&sig2=kQRBvbbuEZdaZ1MO7q-Q4g&bvm=bv.1357700187,d.bmk
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.