Rendering custom components in a JTable
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, January 23, 2002 04:58 AM

A JPanel containing a DropDown list & button has to be rendered in the column of the JTable. How can this be achieved?

Re: Rendering custom components in a JTable

Posted By:   Anonymous  
Posted On:   Wednesday, January 23, 2002 05:43 AM

You need to create your own renderer and/or editor by either implementing TableCellRenderer and/or TableCellEditor or extending DefaultTableCellRender and/or DefaultCellEditor. Surely you can find some example of this on the web.
About | Sitemap | Contact