Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Table and cell editor

 
Serghei Jelauc
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.

I have created the JTable, and set cell editor on the one of columns. The cell editor is JFormattedTextField wich shows data in money format($55.00)
When my table is opened first time theres is no the $ sign in cells. Only when I double click on the cell to edit it the $ is appeared and after it, it is visible (even if I leave the cell after editing). How to do so, that first time when table is opened all the cells in column were with the $ sign?

thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic