SlideShare a Scribd company logo
1.
(TCOs 1–6) The data displayed in a JTable can be provided by a
_____ object.
(Points : 4)
1. (TCOs 1–6) The data displayed in a JTable can be provided by .docx
1. (TCOs 1–6) The data displayed in a JTable can be provided by .docx
Component
Type
Purpose
txtNum
JTextField
Input for number of tickets
chkMatinee
JCheckBox
Check if matinee performance
radOrchestra
JRadioButton
Check for orchestra tickets
radMezzanine
JRadioButton
Check for mezzanine tickets
radBalcony
JRadioButton
Check for balcony tickets
btnCalc
JButton
Click to calculate price
txtEach
JTextField
Displays price of each ticket
txtTotal
JTextField
Displays total price
Question 2.
Component
Type
Purpose
txtName
JTextField
Input for name
txtYears
JTextField
Input for years
txtSalary
JTextField
Input for salary
btnCalc
JButton
Click to calculate bonus
txtBonusPercent
JTextField
Displays bonus percentage
txtBonusAmount
JTextField
Displays bonus amount
Question 3.
Question 4.

More Related Content

1. (TCOs 1–6) The data displayed in a JTable can be provided by .docx

  • 1. 1. (TCOs 1–6) The data displayed in a JTable can be provided by a _____ object. (Points : 4)
  • 4. Component Type Purpose txtNum JTextField Input for number of tickets chkMatinee JCheckBox Check if matinee performance radOrchestra JRadioButton Check for orchestra tickets radMezzanine JRadioButton
  • 5. Check for mezzanine tickets radBalcony JRadioButton Check for balcony tickets btnCalc JButton Click to calculate price txtEach JTextField Displays price of each ticket txtTotal JTextField Displays total price Question 2. Component Type Purpose txtName JTextField Input for name txtYears JTextField Input for years txtSalary JTextField Input for salary btnCalc JButton Click to calculate bonus txtBonusPercent JTextField Displays bonus percentage txtBonusAmount