美文网首页
解决:ADT(Eclipse)的Unhandled event

解决:ADT(Eclipse)的Unhandled event

作者: JerryloveEmily | 来源:发表于2018-01-09 09:42 被阅读309次

问题

在编辑Java文件的时候会报:Unhandled event loop exception No more handles的错误,这是ADT的Java Editor的一个bug,我的ADT是4.3.xxx的版本。

解决方案

  1. 办法就是替换Editor,这里使用WindowBuilder的编辑器插件:http://download.eclipse.org/windowbuilder/WB/release/R201309271200/4.3, 在Eclipse的Help->Install new software中添加插件安装。

  2. 安装完成后,重启Eclipse。

  3. 在Preferences中搜索到File Associations,选择 .java选项,选中Associations editor中的WindowBuilider Editor设置为Default。

  4. 最后,选中任何一个Java文件右击Open With->WindowBuilder Editor。大功告成!!!

相关文章

网友评论

      本文标题:解决:ADT(Eclipse)的Unhandled event

      本文链接:https://www.haomeiwen.com/subject/bwcwnxtx.html