• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable's Cell Text append Problem

 
VIV sharma
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In one of my application, i have a JTable having one row and some columns.

Problems :
1) when i go to any cell by pressing tab, and start editing, it start appending the text, rather i want to override the text.
2) same way, if i double click on particular cell, and start editing, it should not append.


Thanks in Advance.

ViV
 
Murugan Patham
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a defaultCellEditor and define the behaviour for that editor
 
Murugan Patham
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic