Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Search problem when using html in DefaultTableCellRenderer  RSS feed

zainu Mehmood
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i m a developing swing application,now In JTable i m suing a class that extends DefaultTableCellRenderer,in which i override getTableCellRendererComponent method, now in some case for formatting i m in need to add two value in a single cell but in diffrent lines
it works fine when i use code

rendVal = <html> + <font color=red> + value1 + </font> +<br> + value2+</html>

it works fine but when i search it just cant' search coz in backend html code is inserted ......can any one help me that how i can i format mean how i can i set two values in two line in a single cell and the also i can search please me/.....
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!