aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTable's Cell Text append Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable Watch "JTable New topic
Author

JTable's Cell Text append Problem

VIV sharma
Greenhorn

Joined: Jan 01, 2004
Posts: 18
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

Joined: Oct 16, 2004
Posts: 20
Have a defaultCellEditor and define the behaviour for that editor
Murugan Patham
Greenhorn

Joined: Oct 16, 2004
Posts: 20
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable's Cell Text append Problem