-
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?
-
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