| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Au contraire, you can override getCellEditor(int row, int column) in JTable. Also, your TableCellEditor interface also provides row and column information. For example: public class ComboBoxEditor extends TableCellEditor { Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) { return new JComboBox(getArray(row)); } } On 13 Aug 2005, at 21:55, Yvon Thoraval wrote:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden This email sent to email@hidden
| References: | |
| >using a JComboBox as a cell renderer in a JXTreeTable (From: Yvon Thoraval <email@hidden>) | |
| >Re: using a JComboBox as a cell renderer in a JXTreeTable (From: Brendon McLean <email@hidden>) | |
| >Re: using a JComboBox as a cell renderer in a JXTreeTable (From: Yvon Thoraval <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.