阅读背景:

阻止JTree选择发生变化的最佳方法是什么?

来源:互联网 

I have a dialog where each entry in a JTree has its corresponding options in a different panel, which is updated when the selection changes. If options for one of the entries is set to an invalid state, when the user attempts to change to a different entry in the tree, I want there to be an error dialog and have the selection not change.I have a dialog where each entry in a JTree has




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: