aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Button group in panel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Button group in panel" Watch "Button group in panel" New topic
Author

Button group in panel

geeta khurana
Greenhorn

Joined: May 18, 2001
Posts: 6
I have a group of JRadio buttons and I want to add the group in JPanel. Is it possible to do it? If yes, pls help me out.
Thanks
Tom Pelly
Greenhorn

Joined: Jun 29, 2001
Posts: 14
Can't you just add them as you would a normal group of buttons?
geeta khurana
Greenhorn

Joined: May 18, 2001
Posts: 6
Thanks Tom. I could do it. Earlier I was trying to add the buttongroup to the panel which was not being accepted. Now I added the buttons to the buttongroup and then added buttons to the panel.
Thnx
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Button group in panel