Font in Jtable
Sir i m using a JTable component.i have appended a menu item font .by pressing font menu a dialog box is called by that user can select Font-Type,Style and size.Now i want --by pressing ok bttn selected range of cell's font should be changed according to selected style,Size and type.i have problem that setFont() can only be applied to Component object.and a cell is not a component object.
for that i m trying to use
Component cell=DefaultTableCellRenderer.getTableCellRendererComponent(.......),but it is not returning component for particular cell. how can i do it.
Pls keep in mind i m using DefaultTableModel. How can i do it.pls help me out from that problem.