开发者

Glazed Lists EventTableModel class stroked in NetBeans

开发者 https://www.devze.com 2023-04-08 06:51 出处:网络
I try to use Glazed List to create dinamically changed TableModel. All wo开发者_如何学编程rks fine, but class name EventTableModel is written strikethrough text (I use NetBeans IDE). I watch class imp

I try to use Glazed List to create dinamically changed TableModel. All wo开发者_如何学编程rks fine, but class name EventTableModel is written strikethrough text (I use NetBeans IDE). I watch class implementation - no @Deprecated annotation here. Has anyone encountered this problem? What does this mean? I downloaded latest binary .jar from here: download page

Glazed Lists EventTableModel class stroked in NetBeans


You probably didn't chack the right implementation, I just downloaded the source from the link you provided, I can see the following, excerpted from EventTableModel javadoc:

* @deprecated Use {@link DefaultEventTableModel} instead. This class will be removed in the GL
*             2.0 release. The wrapping of the source list with an EDT safe list has been
*             determined to be undesirable (it is better for the user to provide their own EDT
*             safe list).

so you just have to follow the indication there and use DefaultEventTableModel instead.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号