Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 16-03-2009, 11:47 AM   #1 (permalink)
Apprentice
 
Join Date: Nov 2008
Posts: 57
Default Java: DefaultTableModel doubt


In a DefaultTableModel after doing an addrow …how to make certain texts within the rows BOLD?

PS: Had posted in the java thread but did'nt get any replies....any1 has any idea abt it?
srbharadwaj is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 16-03-2009, 01:54 PM   #2 (permalink)
CAFEBABE
 
chandru.in's Avatar
 
Join Date: Mar 2008
Location: Bangalore
Posts: 474
Default Re: Java: DefaultTableModel doubt

Use a custom renderer/
__________________
Chandru

http://tuxychandru.blogspot.com
chandru.in is offline  
Old 16-03-2009, 04:58 PM   #3 (permalink)
Apprentice
 
Join Date: Nov 2008
Posts: 57
Default Re: Java: DefaultTableModel doubt

Quote:
Originally Posted by chandru.in View Post
Use a custom renderer/
How?
I need to make only certain texts within a cell to be bold
Example:
If the text at 'x'th row and 'y'th column contains the word "abc def" then make ONLY the letters "abc def" in that cell BOLD rest all will remain default
srbharadwaj is offline  
Old 19-03-2009, 12:26 PM   #4 (permalink)
Apprentice
 
Join Date: Nov 2008
Posts: 57
Default Re: Java: DefaultTableModel doubt

Quote:
Originally Posted by srbharadwaj View Post
How?
I need to make only certain texts within a cell to be bold
Example:
If the text at 'x'th row and 'y'th column contains the word "abc def" then make ONLY the letters "abc def" in that cell BOLD rest all will remain default

Any one has any solutions???
srbharadwaj is offline  
Old 23-03-2009, 05:21 PM   #5 (permalink)
Apprentice
 
Join Date: Nov 2008
Posts: 57
Default Re: Java: DefaultTableModel doubt

Quote:
Originally Posted by srbharadwaj View Post
Any one has any solutions???
Any one knows? dos'nt know? did'nt understand the question??
srbharadwaj is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by gforz
- by soumya

Advertisement




All times are GMT +5.5. The time now is 03:09 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2