aspose file tools
The moose likes Swing / AWT / SWT and the fly likes How to group radio buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "How to group radio buttons" Watch "How to group radio buttons" New topic
Author

How to group radio buttons

Vinod Awar
Ranch Hand

Joined: Nov 06, 2006
Posts: 125
Hii,

i want to create group of radio buttons under heading Encoding the group will have two radio buttons .i have written something like this


which class should i use to clearly display the group with a heading


The biggest bankruptcy is the loss of enthusiasm
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32833
    
    4
Does your present suggestion not work? It looks all right to me just on a 5-second glance. How about putting a border round the JLabel?
qunfeng wang
Ranch Hand

Joined: Jan 28, 2005
Posts: 410
How about use a "TitledBorder"?
[ April 29, 2007: Message edited by: Louis Wang ]

To be or not to be. It's a question.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to group radio buttons
 
Similar Threads
Arrays Won't Work
observable
JFrame panels NOT showing. WHY??
why i am not getting the proper format of the following code
JTextArea scroll bar