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 disable the button in JTable  RSS feed

 
Naveen Kumar
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have JPanel.
In my JPanel I have one JTable and One JButton.(Button Name is Continue)

I wish to have a table rows such a way that, first column should have
button (in all rows..) and rest are all string columns (in all rows.)

If I click the continue Button on the JPanel I want to disable all the buttons in the JTable.
Any body please help me.

Regards
Naveen
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Naveen Kumar
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Craig Wood,

Thank You Very Much...!

Your code is very help full to my scenario.

Regards
Naveen
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!