aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTables editor/renderer ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTables editor/renderer ?" Watch "JTables editor/renderer ?" New topic
Author

JTables editor/renderer ?

seema prakash
Ranch Hand

Joined: Nov 17, 2004
Posts: 59
Hi,

I just created a sample program after reading the tutorials.
The second column has JTextField as an editor. It converts all the text into uppercase and renders it the same way.

But, I want to have the cell in the second column to change based on a condition. For this I have the ChangeUpperCaseEditor class. When I use this as editor it does not render correctly. What may be the problem? Please help.

The sample code is:
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
seema prakash
Ranch Hand

Joined: Nov 17, 2004
Posts: 59
Thanks a lot for the help. It works fine.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JTables editor/renderer ?