This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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
like

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 ...help me/.....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!