SlideShare ist ein Scribd-Unternehmen logo
1 von 3
Event Handling in Netbeans IDE: 
Area of Triangle, Square and Rectangle 
User will input the following: 
o Length and Width of Rectangle 
o Side of Square 
o Base and Height of a Triangle 
The Program should display all the computed areas: 
Rectangle 
Length: meter 
Width: meter 
Square 
Side: meter 
Triangle 
Base: meter 
Height: meter 
COMPUTE 
Area of Rectangle: _____________ meter squared 
Area of Square: __________ meter squared 
Area of Triangle: ________ meter squared 
2. If your name is type, and the Enter button is clicked, it will display in the top, if not your name 
is being type, the display would be “UNIDENTIFIED” 
ENTER NAME: 
ANNA 
ANNA 
ENTER
ENTER NAME: 
UNIDENTIFIED 
MARY 
ENTER 
3. Create a Product user interface like the example below: 
Allows user to input the QUANTITY. 
o When the TOTAL button is clicked it will multiply the quantity with the price and get the total 
sum. 
o When the LESS button is clicked show the percentage of discount 
TOTAL =< 10K will get 5% discount 
TOTAL =<20K and >10k will get 10% discount 
TOTAL =< 30K and >20k will get 15% discount 
TOTAL >30k will get 20% discount 
o When the DISCOUNTED button is clicked the discounted amount is displayed 
PRODUCT ORDER 
ITEM PRICE QUANTITY AMOUNT 
VCD 1000 
DVD 3000 
TV 5000 
RADIO 500 
STEREO 2000 
1 
4 
3 
2 
1 
TOTAL 
LESS 
DISCOUNTED
PRODUCT ORDER 
ITEM PRICE QUANTITY AMOUNT 
VCD 1000 
DVD 3000 
TV 5000 
RADIO 500 
STEREO 2000 
1 
4 
3 
2 
1 
TOTAL 
LESS 
DISCOUNTED 
1000 
12000 
15000 
1000 
2000 
31000 
20% 
24000

Weitere ähnliche Inhalte

Ähnlich wie Event handling in netbeans ide

The Cost Of Production - Dealing with Cost - Explicit and Implicit Cost - Eco...
The Cost Of Production - Dealing with Cost - Explicit and Implicit Cost - Eco...The Cost Of Production - Dealing with Cost - Explicit and Implicit Cost - Eco...
The Cost Of Production - Dealing with Cost - Explicit and Implicit Cost - Eco...FaHaD .H. NooR
 
The Production And Cost C M A
The  Production And  Cost   C M AThe  Production And  Cost   C M A
The Production And Cost C M AZoha Qureshi
 
Costs of production
Costs of productionCosts of production
Costs of productionsherrin125
 
SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting , PO...
SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting ,  PO...SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting ,  PO...
SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting , PO...Soumya De
 
Sap ps training material
Sap ps training materialSap ps training material
Sap ps training materialSoumya De
 
Calculator 2
Calculator 2Calculator 2
Calculator 2livecode
 
Wonderwaretutorial 130730025747-phpapp02
Wonderwaretutorial 130730025747-phpapp02Wonderwaretutorial 130730025747-phpapp02
Wonderwaretutorial 130730025747-phpapp02Rida Hudaya
 
Keenan Timko, Publisher Account Director, MoPub (Twitter)
Keenan Timko, Publisher Account Director, MoPub (Twitter)Keenan Timko, Publisher Account Director, MoPub (Twitter)
Keenan Timko, Publisher Account Director, MoPub (Twitter)White Nights Conference
 
Unlimited Bizniz Presentation
Unlimited Bizniz PresentationUnlimited Bizniz Presentation
Unlimited Bizniz PresentationYabetsuian Kurisu
 
Budget upload process in SAP PS
Budget upload process in SAP PSBudget upload process in SAP PS
Budget upload process in SAP PSgovil79
 
Medidor digital de presion 680 UserManual.pdf
Medidor digital de presion 680 UserManual.pdfMedidor digital de presion 680 UserManual.pdf
Medidor digital de presion 680 UserManual.pdfJuanRios958368
 
DDTT11: Ton Wesseling - 21-01-20
DDTT11: Ton Wesseling - 21-01-20DDTT11: Ton Wesseling - 21-01-20
DDTT11: Ton Wesseling - 21-01-20Webanalisten .nl
 

Ähnlich wie Event handling in netbeans ide (17)

The Cost Of Production - Dealing with Cost - Explicit and Implicit Cost - Eco...
The Cost Of Production - Dealing with Cost - Explicit and Implicit Cost - Eco...The Cost Of Production - Dealing with Cost - Explicit and Implicit Cost - Eco...
The Cost Of Production - Dealing with Cost - Explicit and Implicit Cost - Eco...
 
The Production And Cost C M A
The  Production And  Cost   C M AThe  Production And  Cost   C M A
The Production And Cost C M A
 
Costs of production
Costs of productionCosts of production
Costs of production
 
SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting , PO...
SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting ,  PO...SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting ,  PO...
SAP Training ( PS , Material PR , Service PR ,Cost Planning , Budgeting , PO...
 
Sap ps training material
Sap ps training materialSap ps training material
Sap ps training material
 
Current cost EnviR manual
Current cost EnviR manualCurrent cost EnviR manual
Current cost EnviR manual
 
Calculator 2
Calculator 2Calculator 2
Calculator 2
 
Investment Deck Frenzi 2016
Investment Deck Frenzi 2016Investment Deck Frenzi 2016
Investment Deck Frenzi 2016
 
Wonderwaretutorial 130730025747-phpapp02
Wonderwaretutorial 130730025747-phpapp02Wonderwaretutorial 130730025747-phpapp02
Wonderwaretutorial 130730025747-phpapp02
 
Wonderware tutorial
Wonderware tutorialWonderware tutorial
Wonderware tutorial
 
Keenan Timko, Publisher Account Director, MoPub (Twitter)
Keenan Timko, Publisher Account Director, MoPub (Twitter)Keenan Timko, Publisher Account Director, MoPub (Twitter)
Keenan Timko, Publisher Account Director, MoPub (Twitter)
 
Unlimited Bizniz Presentation
Unlimited Bizniz PresentationUnlimited Bizniz Presentation
Unlimited Bizniz Presentation
 
Pc
PcPc
Pc
 
Budget upload process in SAP PS
Budget upload process in SAP PSBudget upload process in SAP PS
Budget upload process in SAP PS
 
Pricing
PricingPricing
Pricing
 
Medidor digital de presion 680 UserManual.pdf
Medidor digital de presion 680 UserManual.pdfMedidor digital de presion 680 UserManual.pdf
Medidor digital de presion 680 UserManual.pdf
 
DDTT11: Ton Wesseling - 21-01-20
DDTT11: Ton Wesseling - 21-01-20DDTT11: Ton Wesseling - 21-01-20
DDTT11: Ton Wesseling - 21-01-20
 

Mehr von learnt

Information System within the Organization
Information System within the OrganizationInformation System within the Organization
Information System within the Organizationlearnt
 
Quiz2FinalPeriod
Quiz2FinalPeriodQuiz2FinalPeriod
Quiz2FinalPeriodlearnt
 
Database Design
Database DesignDatabase Design
Database Designlearnt
 
Quiz1FinalsIS
Quiz1FinalsISQuiz1FinalsIS
Quiz1FinalsISlearnt
 
Gantt- Pert Chart Activities
Gantt- Pert Chart ActivitiesGantt- Pert Chart Activities
Gantt- Pert Chart Activitieslearnt
 
Quiz1FinalPeriod
Quiz1FinalPeriodQuiz1FinalPeriod
Quiz1FinalPeriodlearnt
 
PertGanttchart
PertGanttchartPertGanttchart
PertGanttchartlearnt
 
Feasible
FeasibleFeasible
Feasiblelearnt
 
Quiz1Finals
Quiz1FinalsQuiz1Finals
Quiz1Finalslearnt
 
KindsofSites
KindsofSitesKindsofSites
KindsofSiteslearnt
 
InformationSecurity
InformationSecurityInformationSecurity
InformationSecuritylearnt
 
Quiz3midterm
Quiz3midtermQuiz3midterm
Quiz3midtermlearnt
 
modelingtools
modelingtoolsmodelingtools
modelingtoolslearnt
 
Decision exercises
Decision exercisesDecision exercises
Decision exerciseslearnt
 
Kwiz2 midterm
Kwiz2 midtermKwiz2 midterm
Kwiz2 midtermlearnt
 
Modelingprogramstructure
ModelingprogramstructureModelingprogramstructure
Modelingprogramstructurelearnt
 
Quiz2 midterm
Quiz2 midtermQuiz2 midterm
Quiz2 midtermlearnt
 
Web browsers
Web browsersWeb browsers
Web browserslearnt
 

Mehr von learnt (20)

Information System within the Organization
Information System within the OrganizationInformation System within the Organization
Information System within the Organization
 
Quiz2FinalPeriod
Quiz2FinalPeriodQuiz2FinalPeriod
Quiz2FinalPeriod
 
Database Design
Database DesignDatabase Design
Database Design
 
Quiz1FinalsIS
Quiz1FinalsISQuiz1FinalsIS
Quiz1FinalsIS
 
EBuss
EBussEBuss
EBuss
 
Gantt- Pert Chart Activities
Gantt- Pert Chart ActivitiesGantt- Pert Chart Activities
Gantt- Pert Chart Activities
 
Quiz1FinalPeriod
Quiz1FinalPeriodQuiz1FinalPeriod
Quiz1FinalPeriod
 
PertGanttchart
PertGanttchartPertGanttchart
PertGanttchart
 
Feasible
FeasibleFeasible
Feasible
 
Html1
Html1Html1
Html1
 
Quiz1Finals
Quiz1FinalsQuiz1Finals
Quiz1Finals
 
KindsofSites
KindsofSitesKindsofSites
KindsofSites
 
InformationSecurity
InformationSecurityInformationSecurity
InformationSecurity
 
Quiz3midterm
Quiz3midtermQuiz3midterm
Quiz3midterm
 
modelingtools
modelingtoolsmodelingtools
modelingtools
 
Decision exercises
Decision exercisesDecision exercises
Decision exercises
 
Kwiz2 midterm
Kwiz2 midtermKwiz2 midterm
Kwiz2 midterm
 
Modelingprogramstructure
ModelingprogramstructureModelingprogramstructure
Modelingprogramstructure
 
Quiz2 midterm
Quiz2 midtermQuiz2 midterm
Quiz2 midterm
 
Web browsers
Web browsersWeb browsers
Web browsers
 

Event handling in netbeans ide

  • 1. Event Handling in Netbeans IDE: Area of Triangle, Square and Rectangle User will input the following: o Length and Width of Rectangle o Side of Square o Base and Height of a Triangle The Program should display all the computed areas: Rectangle Length: meter Width: meter Square Side: meter Triangle Base: meter Height: meter COMPUTE Area of Rectangle: _____________ meter squared Area of Square: __________ meter squared Area of Triangle: ________ meter squared 2. If your name is type, and the Enter button is clicked, it will display in the top, if not your name is being type, the display would be “UNIDENTIFIED” ENTER NAME: ANNA ANNA ENTER
  • 2. ENTER NAME: UNIDENTIFIED MARY ENTER 3. Create a Product user interface like the example below: Allows user to input the QUANTITY. o When the TOTAL button is clicked it will multiply the quantity with the price and get the total sum. o When the LESS button is clicked show the percentage of discount TOTAL =< 10K will get 5% discount TOTAL =<20K and >10k will get 10% discount TOTAL =< 30K and >20k will get 15% discount TOTAL >30k will get 20% discount o When the DISCOUNTED button is clicked the discounted amount is displayed PRODUCT ORDER ITEM PRICE QUANTITY AMOUNT VCD 1000 DVD 3000 TV 5000 RADIO 500 STEREO 2000 1 4 3 2 1 TOTAL LESS DISCOUNTED
  • 3. PRODUCT ORDER ITEM PRICE QUANTITY AMOUNT VCD 1000 DVD 3000 TV 5000 RADIO 500 STEREO 2000 1 4 3 2 1 TOTAL LESS DISCOUNTED 1000 12000 15000 1000 2000 31000 20% 24000