
RAP RCP & OSGI
iteye_2272
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【转】Java和Eclipse中加载本地库研究
最近在做的工作要用到本地方法,需要在Java中加载不少动态链接库(以下为方便延用Windows平台下的简写dll,但并不局限于Windows)。刚刚把程序跑通,赶紧把一些心得写出来,mark。也希望对大家的类似工作有所帮助首先,应当明确,dll有两类:(1)Java所依赖的dll和,(2)dll所依赖的dll。正是由于第(2)种dll的存在,才导致了java中加载dll的复杂性大大增加,许...原创 2011-05-25 16:54:26 · 97 阅读 · 0 评论 -
eclipse 下osgi 工程环境
1.下载eclipse herios j2ee版本2.安装maven插件 在help菜单下选择eclipse MarketPlace 中选择Maven Integration for Eclipse3. 导入maven 工程4. 在eclipse中 右键点击工程 选择configure->Convert to Plug-in Project5. 打开MANIFEST.MF ...原创 2011-05-25 18:23:16 · 190 阅读 · 0 评论 -
如何使swt窗口居中显示
(1)下面代码可以使swt窗口相对于整个显示器居中 shell.setLocation(Display.getCurrent().getClientArea().width / 2 - shell.getShell().getSize().x/2, Display.getCurrent() .getClientArea().height / 2 - shel...原创 2011-05-17 11:18:49 · 303 阅读 · 0 评论 -
Application "XXX" could not be found in the registry的解决办法
1、#######不知是否有人与我一样碰到这个问题,先建立一个RCP应用,写了一段代码,试运行一下,再写一段代码,加入对某个插件的依赖后,程序就会报错:java.lang.RuntimeException: Application "tets.application" could not be found in the registry. The applications avai...原创 2011-05-17 11:25:08 · 727 阅读 · 0 评论