Yes No Cell Editor And Renderer For JTable

Here are two classes for a JTable cell for use as a cell renderer and cell editor that makes up two JRadioButtonJPanel inside a .

If you plan to add more JRadioButton objects in the container, feel free to do so but be aware that these JRadioButtons are displayed horizontally courtesy of the BoxLayout that I used. If you want them displayed vertically, just change the value of the axis of the BoxLayout to Y_AXIS.

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *