jFileChooser as cell editor in a table [closed]

久未见 提交于 2019-12-01 13:08:41
trashgod

The tutorial approach is correct. See this example that use an undecorated JButton to evoke the actual editor. Instead of PopupDialog, you'll use JFileChooser.

Addendum: To apply the editor to any cell(s) individually, override prepareEditor() for the desired row and column, as discussed here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!