Preview

Oiyhi

Satisfactory Essays
Open Document
Open Document
1423 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Oiyhi
Q.
Design a GUI to calculate total bill amount for a shop if 1) Price per shirt is 120, price per trouser is 100 & price per cardigan is 220. 2) Discount is calculated as on the basis of payment mode :- a)credit = 0% b)cash- more than 10000 = 12% b/w 7000 & 10000 = 10% less than 7000 = 5%

Solution:- private void jCheckBox1ItemStateChanged(java.awt.event.ItemEvent evt) { // TODO add your handling code here: if(jCheckBox1.isSelected()) { jTextField1.setEditable(true); jTextField1.setText(null); jTextField2.setText(""+120); } else if(jCheckBox1.isSelected()==false) { jTextField1.setEditable(false); jTextField1.setText("0"); jTextField2.setText(""+0); } }

private void jCheckBox2ItemStateChanged(java.awt.event.ItemEvent evt) { // TODO add your handling code here: if(jCheckBox2.isSelected()) { jTextField3.setEditable(true); jTextField3.setText(null); jTextField4.setText(""+100); } else if(jCheckBox2.isSelected()==false) { jTextField3.setEditable(false); jTextField3.setText(""+0); jTextField4.setText(""+0); } }

private void jCheckBox3ItemStateChanged(java.awt.event.ItemEvent evt) { // TODO add your handling code here: if(jCheckBox3.isSelected()) { jTextField5.setEditable(true); jTextField6.setText(""+220); jTextField5.setText(null); } else if(jCheckBox3.isSelected()==false) {

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Chapter 26

    • 421 Words
    • 3 Pages

    b) A 2% cash discount if paid on the 10th day with the bill due on the 30th day (2/10, net 30)?…

    • 421 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    If the Rented Premises are subject to a rental discount, the amount of the discount shall be $______________ which shall be given as follows:…

    • 914 Words
    • 16 Pages
    Powerful Essays
  • Good Essays

    Acct 504 Quiz

    • 2094 Words
    • 9 Pages

    77. Receivables are valued and reported in the balance sheet at their gross amount less any sales returns and allowances and less any cash discounts. FALSE…

    • 2094 Words
    • 9 Pages
    Good Essays
  • Powerful Essays

    Subsequent Cash ......................................... XXX cash receipt: Accounts Receivable ...... XXX On August 6, within the discount period, the payment would be $3,880 ($4,000 – 3% of $4,000, or $4,000 – $120). On August 9, which is after the discount period, payment would be the full amount of $4,000. The three-day difference is crucial: August 6 is within the discount period, but August 9 is too late to earn the 3 percent discount. The latest acceptable payment date under the sale terms would be…

    • 10371 Words
    • 42 Pages
    Powerful Essays
  • Good Essays

    924 case study

    • 1259 Words
    • 6 Pages

    Lastly, the Cut and Chop is a company, it cannot use discount method (Div 115).…

    • 1259 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Chapter 11

    • 505 Words
    • 3 Pages

    2.) The payment of interest and the discount amortization on December 31, 2008. (For multiple debit/credit entries, list amounts from largest to smallest eg 10, 5, 3,…

    • 505 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    Forum 2 Linear Equations 2

    • 1133 Words
    • 4 Pages

    1) John spent $201 shirts and pants for work. Shirts cost $27 and pants cost $22. If he…

    • 1133 Words
    • 4 Pages
    Better Essays
  • Good Essays

    Mat 540 Quiz 1

    • 1124 Words
    • 5 Pages

    Parts (iii) to (iv) are based on the following information: A 180-day promissory note will mature for $10,000. Sixty days after issue it was purchased by Quentin for $9,786.30. (iii) Calculate (as a percentage, correct to 2 decimal places) the rate of simple discount p.a. used in calculating the purchase price paid by Quentin. 6.50% p.a.…

    • 1124 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    oijni

    • 477 Words
    • 2 Pages

    1) Describe (in your own words) how an action potential is transmitted from the axon terminal (pre-synaptic membrane) to an excited muscle (post-synaptic membrane). Be sure to include all electrolytes (minerals) and neurotransmitters that are used for the transmission of the action potential. Optional drawings can be included.…

    • 477 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Fixed income securities

    • 1450 Words
    • 6 Pages

    Therefore either this rate is wrong or the other 3 rates are wrong. The reason is that discount…

    • 1450 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Apv and Wacc

    • 330 Words
    • 2 Pages

    | Discount only once- the discount rate has to be adjusted to pick up all the costs and benefits of a selected capital structure.…

    • 330 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    1. Discount rate: From the case, what is the discount rate you should use for MMDC? Why?…

    • 787 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Aoi Hoshi

    • 311 Words
    • 2 Pages

    NAME | NUMBER | E-MAiL ADDRESS | Afable, Arizza Arielle L. | 09177990928 | afablearielle@yahoo.com | Arceo, Quina Pamela L. | 09273398817 | quinapamela_24@yahoo.com | Bobis, Danny V. | 09162216856 | mcmagic23@hotmail.com | Caluya, Claudine Vinnet F. | 09239078203 | vinn3t@yahoo.com | Carpio, Charlene N. | 09277960872 | charlene_carpio@yahoo.com | Castro, Bea Nicole M. | 09179731169 | beakots@yahoo.com.ph | Cuya, John Karl K. | 09273177932 | jcmac17@yahoo.com.ph |…

    • 311 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    2) What is Rebate on bills discounted? How is it dealt in a Bank’s Final statements?…

    • 1239 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    hihihi

    • 2444 Words
    • 10 Pages

    One of my favorite places is to stop on quiet roads to take pictures of old abandoned houses. Here is a poem that describes such a house. Maybe you can use some of the ideas to write your descriptive paragraph. Best of luck with it. The House with Nobody in It Whenever I walk to Suffern ...…

    • 2444 Words
    • 10 Pages
    Satisfactory Essays