Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create the Jtable in which one column contain the check box or String  RSS feed

 
vinod Raj kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , i want to create the Jtable in which one column contain the check box (which is a boolean value) or String

i created the Check box as

public Class getColumnClass(int column) {

return getValueAt(0, column).getClass();
}

This function return me boolean value "True" or "False"

my problem is that, in the 1st column and 5 row i need to display the "check box" and next row from 6 to 10 of the same column i need to display string. .

thanks in advance. . .

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!