We help IT Professionals succeed at work.

Buttom CommandGroup option Selection

Vanavah Edwards
on
How do I create a button commandgroup option with Save/Items/Clear/Exit/Delete?  How do I determine which option was selected?  How do I assign hot keys to the first letter?  As these are a lot of buttons, how do I set the individual button size and the commandgroup button size?  
Comment
Watch Question

Awarded 2011
Awarded 2011

Commented:
Awarded 2011
Awarded 2011
Commented:

Author

Commented:
This is solution is with JRadioButtons.  However, I wanted one like this with standard button group
Awarded 2011
Awarded 2011

Commented:
I think with standrad button group you'll have to code events yourself which would be rather painful - why don't you want JRadioButtons

Author

Commented:
Ok.  I will.  Also that same site have on JRadiobuttons with images which I will use.  Thanks again.  I will now award your points.  That's it for tonight until tomorrow.
Awarded 2011
Awarded 2011

Commented:
This is some article about Button Group but does not look like there is a usable code there fro download:

http://www.javaworld.com/javaworld/javatips/jw-javatip142.html

Author

Commented:
Thanks very much again.
Awarded 2011
Awarded 2011

Commented:
You are always welcome.