is creating cell renderer sufficient?
 
in order to display a button we have to take care of
1.    cell renderer
2.    override public TableCellEditor getCellEditor(int row, int col) [otherwise, clicking on the button results in a textfield]
 
this is a cumbersome job when each cell can be different.
 
I am talking about a table in which each cell can be different i.e. JButton, JTable, Image etc....
-----Original Message-----
From: Dave Wathen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 6:38 PM
To: Amit Rana; advanced_swing
Subject: RE: JTable inside a JTable

Create a cell renderer that returns the JTable as its component.
 

Dave Wathen
Canzonet Limited
http://www.canzonet.com
mailto:[EMAIL PROTECTED]

Reply via email to