|
-
March 17th, 1999, 11:34 AM
#1
JTable and Fonts
I'm trying to use the files to set up a table. I'm using the Cellmodels
on this site and multispantable but am unable to get the cell font. It
returns null when I use the call:
Font cellFont = cellAttFont.getFont(1,1);
Is there a reason or am I just using it wrong?
-
July 9th, 1999, 02:24 PM
#2
Re: JTable and Fonts
If I understood your question correctly, you can get the font by getting the reference to the cell renderer. For examples, if the table is using default cell renderer, you can find out the font of Row 2 and
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|