dynamically changing row height of jtable cells with frame size
843805Dec 4 2005 — edited Dec 4 2005hi,
i have a jtable with fixed number of rows and columns. by default i am setting row height of 60 and displaying the frame by packing it.
if the user resizes the frame then what i need is that the row heights and column widhts must be adjusted automatically such that the table covers the whole frame. by default column widths are being resized such that horizontally the whole table fills the frame.
But the row height is not being adjusted. though the height of rows can be changed through setRowHeight(value) method, i dont know what i have to give in place of value such that it automatically changes with the frame size. please give suggestions.
thanx