简体   繁体   中英

How to set JComboBox in specified cell of JTable

I have a problem. I have been trying to set JComboBox in JTable cell , but only cell with specified parameters (not all cells in column).

I've customized DefaultTableCellRenderer and I'm trying to paste JComboBox to cell in getTableCellRendererComponent . I know that it place new JComboBox exery time when I do sth with JTable , it's not a solution of this problem. Maybe somebody knows how it should be done?

如果您使用您的接受率更改某些内容,那么您可以阅读我的帖子

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM