• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to group radio buttons

 
Vinod Awar
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about use a "TitledBorder"?
[ April 29, 2007: Message edited by: Louis Wang ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic