Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to group radio buttons  RSS feed

 
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: 53769
127
  • 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
Boost this thread!