Core Java™, Volume I--Fundamentals: Eighth Edition (8th Edition): 1 by Horstmann Cay S. & Gary Cornell

Core Java™, Volume I--Fundamentals: Eighth Edition (8th Edition): 1 by Horstmann Cay S. & Gary Cornell

Author:Horstmann, Cay S. & Gary Cornell [Horstmann, Cay S.]
Language: eng
Format: mobi
Publisher: Prentice Hall
Published: 2007-09-10T16:00:00+00:00


The second argument of the constructor is true for the button that should be checked initially and false for all others. Note that the button group controls only the behavior of the buttons; if you want to group the buttons for layout purposes, you also need to add them to a container such as a JPanel.

If you look again at Figures 9–14 and 9–15, you will note that the appearance of the radio buttons is different from that of checkboxes. Checkboxes are square and contain a check mark when selected. Radio buttons are round and contain a dot when selected.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.