Appendix 'B' Ready Reference for GUI Programming Swing Control Methods & Properties Swing Control Methods / Properties Methods Jbutton jButton getText() • setText() • Properties Background • Enabled • Font • Foreground • Text have same • Label value (by • default) Jlabel jLabel Methods getText() • setText() • Properties Background • Enabled • Font • Foreground • Text • JtextField jTextField Methods getText() • isEditable() • isEnabled() • setText() • Properties Background • Editable • Enabled • Font • Foreground • Text • JRadioButton jRadioButton Methods getText() • setText() • isSelected() • setSelected() • Properties Background • Button • Enabled • Font • Foreground • Label • Selected • Text • JcheckBox jCheckBox Methods getText() • setText() • isSelected() • setSelected() • Properties Button Group • Font •
Appendix 'B' Ready Reference for GUI Programming Swing Control Methods & Properties Swing Control Methods / Properties Jbutton jButton Methods • getText() • setText() Properties • Background • Enabled • Font • Foreground • Text have same • Label value (by default) Jlabel jLabel Methods • getText() • setText() Properties • Background • Enabled • Font • Foreground • Text JtextField jTextField Methods • getText() • isEditable() • isEnabled() • setText() Properties • Background • Editable • Enabled • Font • Foreground • Text JRadioButton jRadioButton Methods • getText() • setText() • isSelected() • setSelected() Properties • Background • Button • Enabled • Font • Foreground • Label • Selected • Text JcheckBox jCheckBox Methods • getText() • setText() • isSelected() • setSelected() Properties • Button Group • Font
split_up_syllabus_ip_cs-xi_xii.docx