Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tooltip -Radio Button.

Similar presentations


Presentation on theme: "Tooltip -Radio Button."— Presentation transcript:

1 tooltip -Radio Button

2 RadioButton Radio buttons are groups of buttons , only one button at a time can be selected The Swing supports radio buttons with the JRadioButton and ButtonGroup  classes  Radio buttons look similar to check boxes, but check boxes place no limits on how many items can be selected at a time. And in RadioButton you can select only one time. There is no Radio Button class.awt to create a RadioButton.

3 Using ButtonGroup class
To add RadioButton Jbutton is used to Create Radio Buttons

4 Creating the RadioButtons and Customize it

5 Adding RadioButtons to the ButtonGroup
Adding RadioButtons to the contentPane

6

7

8 tooltip The Swing release supports tooltip
ToolTip: is a tool used to display information or a brief description of the small rectangle appears near the pointer when the user moves pointer or click on a specific tool or in a particular place of the model and used this tool very much The Swing release supports tooltip We need create object from tooltkit and set the location and the size for this tool

9 Creat object

10 This to set size and location
This for set text to display the discbcion

11

12

13


Download ppt "Tooltip -Radio Button."

Similar presentations


Ads by Google