Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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: 55350
157
  • 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!