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
  • 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
  • Powerful Essays

    Case 10

    • 1246 Words
    • 5 Pages

    The discount does not impact my decision as the lower cost as Alternative 2 still remains the lower total cost.…

    • 1246 Words
    • 5 Pages
    Powerful 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

    Compound Interest and Rate

    • 1839 Words
    • 8 Pages

    The payments must discount to a value that is equivalent to $575,000 today, assuming a monthly rate of (4.75%/12), or 0.39583% per month, for 360 months.…

    • 1839 Words
    • 8 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
  • 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
  • Good Essays

    Legality of Security Work

    • 806 Words
    • 4 Pages

    Private security is non-governmental security related protection. It includes private investigation (PI), uniformed security (armed or unarmed), and executive protection, private security companies (PSC), security systems and private limited companies. Civil liability, which is a factor of private security, arises when an offence is both a crime and a tort. Civil actions can be brought against any private security personnel who go against the law. Civil law can be divided into three categories: strict liability, intentional liability and negligence liability.…

    • 806 Words
    • 4 Pages
    Good 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

    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
  • 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