读书人

控件使用错误:component must be show

发布时间: 2011-12-29 22:09:38 作者: rapoo

控件使用异常:component must be showing on the screen to determine its location
做了个自定义COMBOBOX
然后作为EDITOR设置到一个JTABLE的某个CELL

在使用这个EDITOR的时候出现了异常
ava.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

如何解决?



[解决办法]
帮顶
[解决办法]
setVisible(true)?

读书人网 >J2SE开发

热点推荐