Radio Buttons - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Radio Buttons

Description:

Forces user to select only one radio button at a time. You create a button group to group radio buttons. Generates an ItemEvent ... – PowerPoint PPT presentation

Number of Views:220
Avg rating:3.0/5.0
Slides: 8
Provided by: manasi86
Category:
Tags: buttons | radio

less

Transcript and Presenter's Notes

Title: Radio Buttons


1
Topic 13
  • Radio Buttons Button Groups

2
JRadioButton
  • Created same way as check boxes
  • Forces user to select only one radio button at a
    time
  • You create a button group to group radio buttons
  • Generates an ItemEvent
  • interface ItemListener and method
    itemStateChanged used to handle events

3
Constructors and Methods of class JRadioButton
4
Constructors and Methods of class JRadioButton
5
Constructors and Methods of class JRadioButton
6
JComboBox
  • Commonly known as a drop-down list
  • Used to select an item from a list of
    possibilities
  • Generates an ItemEvent
  • Event monitored by ItemListener
  • ItemListener invokes method itemStateChanged

7
Constructors of class JComboBox
Write a Comment
User Comments (0)
About PowerShow.com