JAVA
MyBackup
这个作者很懒,什么都没留下…
展开
-
java中this$0的含义及用法
java中this$0的含义及用法,具体case是这样的: 通过测试工具去探测界面UI上的控件FlatButton实例对象,但是拿到的最终对象是FlatButton的内部类TextButton对象, 所以这里需要从一个内部类的实例拿到所在外部类的实例,this$0这时就派上用处了。 示例方案如下: //通过工具获取到TextButton实例对象转载 2012-07-17 13:25:56 · 4675 阅读 · 0 评论 -
Eclipse 测试工具
1. Eclipse Test and Performance Tools Platform(TPTP ) TPTP addresses the entire test and performance life cycle, from early testing to production application monitoring, including test editing and e原创 2012-11-12 10:30:50 · 1528 阅读 · 0 评论 -
Eclipse RCP “Caused by: java.lang.ClassNotFoundException”
在做RCP开发时如果添加eclipse系统之外的jar,通常做法是在根目录下创建一个lib目录,然后把相关jar包丢到这个目录下。在编译时,修改工程的build path,添加这些jar包进去,编译正确。但是运行RCP时,碰到ClassNotFoundException。错误解决办法:添加 lib/ 目录到plugin.xml 的 runtime 页的classpath中正确原创 2013-03-10 22:04:23 · 3161 阅读 · 1 评论 -
Java exit code 13 on Eclipse RCP application (Indigo)
发布Eclipse RCP之后运行程序遇到如下图exception :"Java was started but returned exit code=13",很多帖子说是32位和64位的问题,实则不然。解决办法:“Seems this had nothing to do with 32-bit vs. 64-bit and everything with my l原创 2013-03-11 11:40:29 · 2851 阅读 · 0 评论 -
导入eclipse源代码工程
有时候你需要了解eclipse是如何工作的,这就要导入eclipse的源代码工程进行debug, follow below steps to import eclipse source code:Open EclipseOpen menu 'Help' -> 'Install new software'Select 'The Eclipse Project Updates'Se原创 2013-04-01 10:47:27 · 1949 阅读 · 0 评论