(i) We need to double click at the Commission button (jButtonl) and type the following code :int Commission :if (jRadioButtonl. isSelected ( ) = True )Commission = 500 ;elseif (jRadioButton2. isSelected ( ) = True)Commission = 1000 ;else Commission = 2000 ;jTextField3. setText (Commission) ;(ii) We need to double click at the ‘Gross Salary’ button (jButton2) and type the following code:int Gross_Sal ;int Salary = Integer, parselnt (jTextField2. getText ( ) ) ;Gross_Sal = Salary + Commission ;jTextField4.setText (Gross_Sal) ;(iii) We need to double click at the ‘Facilities Charges’ button (jButton3) and type the following code :int Fac_Charges ;if (jCheckBox1. is Selected ( ) == True)Fac_Charges = 500 ;elseif (jCheckBox2. isSelected ( ) =True)Fac_Charges = 2000 ;elseFac_Charges = 0 ;jTextField5. setText (Fac_Charges) ;(iv) We need to double click at the ‘Net Salary’ button (jButton4) and type the following code :int Net_Sal ;Net_Sal = Gross_Sal-Fac_Charges ;jTextField6. setText (Net_Sal) ;