Q1. Design a Java Netbeans 6.5.1 GUI application to find out addition of two numbers?
Q2. Design a Java Netbeans 6.5.1 GUI application to find out subtraction of two numbers?
Q3. Design a Java Netbeans 6.5.1 GUI application to find out average of three numbers?
Q6. Design a Java NetBeans 6.5.1 GUI application to calculate salary of employee.
Q7. Design a Java Netbeans GUI application that gives demonstration of all arithmetic operators.
Q8. Design Java Netbeans 6.5.1 GUI application to find out that entered number is EVEN or ODD.
Q9. Design a Java Netbeans 6.5.1 GUI application to find the maximum number between the two numbers.
Q10. Design a Java Netbeans 6.5.1 GUI application to find out the division of student.
Q11. Design a Java Netbeans GUI applications to calculate bonus and netsalary with if condition.
Q12. Design a Java Netbeans 6.5.1 GUI application to calculate mobile bill amount?
Q17. Design a Java Netbeans 6.5.1 GUI application to find out Day of Week.
Q18. Design a Java Netbeans 6.5.1 GUI application having interface as shown below :
Q19. Design a Java NetBeans GUI application for checking Username and Password.
Q20. Design a Java NetBeans GUI application to display a photo while program is running.
For Units | Price for Wholesaler | Price for Retailers |
1-15 | Rs 50/- | Rs 60/- |
16-20 | Rs 45/- | Rs 55/- |
21-30 | Rs 40/- | Rs 50/- |
31-50 | Rs 35/- | Rs 45/- |
>50 | Rs 30/- | Rs 40/- |
- Write the code to disable the text boxes txtTotal and txtDisc and Wholesaler as default option when the form is active.
- Write the code for Calculate Amount Button to
- Display the discounted price in txtDisc if Special customer is selected.
- Display Net Amount.(Total cost=order unit * per unit price)
- Write the code for clear and Exit Button to
- Clear all Text Field and select wholesaler as default and uncheck special customer if is it.
Stream | Percentage | Grade |
>=80 | A | |
60-79 | B | |
< 60 | C | |
>=75 | A | |
50-74 | B | |
< 50 | C |
There is JPanel a container which is used for Medical and Non-Medical:
- jRadioButton1 : Medical(OptMed) with buttonGroup1.
- jRadioButton2 : Non-Medical(OptNMed) with buttonGroup1.
- jCheckBox1 : NCC Cadet(chkNCC).
- Write the code to disable the text boxes for Percentage(txtPercentage) and Grade (txtGrade). Also, set Medical as default stream.
- Write the code for Calculate Percentage button to calculate the percentage after finding the total marks of first term and second term (assuming that both marks are out of 100). Also ensure that NCC cadets (chkNCC) get an increment of 3% in their percentages.
- Write the code for Calculate Grade button to calculate the grade depending on the stream selected according to the criteria given above.
- Write the code for Exit Button and Clear button to Clear all the text boxes and the check box and Medical as default stream.
There is a JPanel containers which is used for Account Type:
- jRadioButton1 : Fixed Deposit(optFD) with buttonGroup1.
- jRadioButton2 : Recurring Deposit(optRD) with buttonGroup1.
and a jCheckBox1 control for Sr.Citizen(chkSR).
- Write the code to disable the text boxes Interest(txtInterest),Amount(txtAmount), Rate(txtRate) in the form when the form activated.
- Write the code for Exit and Clear Button to clear all the text boxes and check box. Set the default choice in the option button as Fixed Deposit.
- Write the code for Calculate button to calculate compound interest and amount and display the values in text boxes: txtInterest and txtAmount depending on the principal, rate and time.
Rate is calculated based on the time according to the following table:
Account | Time(in yrs) | Rate |
Fixed Deposit | <=1 | 10 % |
>1 and <=5 | 12 % | |
>5 | 15 % | |
Recurring Deposit | <=2 | 10 % |
>2 and <=7 | 12 % | |
>7 | 15 % |
An additional rate of 2% is given to senior citizens, i.e., if the chkSR CheckBox is checked.