摘要:
http://wiki.netbeans.org/DevFaqRequestProcessor————————————————————————————————————————————————————————————————————————RequestProcessor.getDefault() is tempting to use, but it is also dangerous. This FAQ item will tell you when not to use it. One of the most common threading bugs in NetBeans happen. 阅读全文
摘要:
在使用Netbeans RCP进行开发的时候,我们通常要设计一些用户界面元素,在设计的时候最好按照Netbeans的习惯,这样开发的时候会比较顺畅。否则经常会感到整体界面不协调。而Netbeans因为久经考验,其界面通常是比较获得认可的。下面我总结一些这样的习惯,仅代表个人观点,欢迎大家补充。在editor模式下打开的TopComponent通常不是单例的,即同一个TopComponent通常可以打开多次。而单例的TopComponent通常不在editor中打开。涉及后台的长时间运行的任务通常使用Progress API实现。 阅读全文
摘要:
按照java doc上的例子,进度条不显示Use Cases Basic usage There are 3 types of progress indication: 1. indefinite when it's not known how much time will be needed to complete2. definite with time estimate for completion (UI shows time that remains)3. definite without time estimate where the UI shows percen... 阅读全文