Home works and Assignments Online

Home » Class XII » Information Practices, XII

Information Practices, XII

For the various swing controls in Net Beans, prepare a chart like the following:

  1. Swing Control Name: jLabel


Property Description
text Displays the text on the label
toolTipText Displays the text when mouse is moved over the label control
font Sets the font of the text displayed in label control
enabled Determines whether label control is enabled or not at runtime
name Sets the name of the label control
setText Sets the text displayed on label at runtime
getText Retrieves the text from label at runtime.  It returns a string value

Like the above data, prepare properties table for the following swing controls:

  1. jButton
  2. jTextField
  3. jTextArea
  4. jRadioButton
  5. jCheckBox
  6. jComboBox
  7. jListBox
  8. jPassword



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: