[url=http://www.java2s.com/Code/Java/Swing-JFC/Table-Renderer-Editor.htm]http://www.java2s.com/Code/Java/Swing-JFC/Table-Renderer-Editor.htm[/url]