Radio Buttons.

<[email protected]> Fri, 4 Nov 2011 08:46:45 +0000 (GMT)
Newsgroups gmane.comp.java.netbeans.modules.java.devel
Message-ID <[email protected]>
Suppose i am using two radio buttons side by side on making GUI in a
button group.then i have to use like this...
on running the GUI when i would be select one  radio button then
automatically other will be hide. and if same i would do to the other
one then first one will be hide.
please tell me how i can do this? what properties i have to be set up.
please reply !!