• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

How to add JCheckbox as the data in a table column

Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In my GUI page, contains a table. The table has four columns and also have add button. The add button dialog have a checkbox and some other stuffs and ok button. when we click ok button in add dialog, the entries are need to be entered into the table. The first column entry is a check box, it may be enabled or disabled based on the selection in the add dialog. But am not able to place the checkbox as a entry in the table

Can anyone help me please..

Thanks in Advance.
Ranch Hand
Posts: 4632
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the Swing tutorial for JTable includes
an example of using a JCheckbox.

If google can't find it, open the apidocs, follow the links.
Stop it! You're embarassing me! And you are embarrassing this tiny ad!
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic