Feeling

    三人行,必有我师焉

   ::  :: 新随笔 :: 联系 ::  :: 管理 ::
  185 随笔 :: 0 文章 :: 392 评论 :: 0 Trackbacks
昨晚赶工为SF上的项目做了个首页:http://feeling.sf.net 。各位兄弟有空可以看看,帮忙提点意见,不过现在铺的好像就有点大了,这么多页面,不知道何时才能做完,打算就先这么搁一个首页,以后有时间再说吧。

SWT Extension Example我今天打包了一下,已经可以下载了,但是源代码我暂时还没打算开放下载,因为有些功能还没做好,需要一段时间,最重要的是我打算对现有代码进行重构,API可能有比较重大的调整,现在提供下载,对想要使用的兄弟来说是一种不负责任的态度。不过Code还是可以从CVS Checkout,地址可以在项目首页上找到。

SWT Extension Example下载地址:

Java 版: http://feeling.sourceforge.net/downloads/example.zip
Native版:http://feeling.sourceforge.net/downloads/example_native.zip (如果上网的机器上还没有安装JRE的兄弟请选择这个)




SWT Extension extends the Eclipse library SWT.

It is a software development kit enabling you to work with native code from Java programs without using JNI. With SWT Extension, you don't need to create native libraries to call a function of the operating system API or a function from any dynamic library. You write code in the Java language only, and SWT Extension does the rest. SWT Extension provides quite a number of integration features to make your Java application look and behave like a Win32 citizen.

  • Window Decorations: making windows always-on-top, transparent, flashing on the taskbar, etc.
  • Custom Shape Window: creating non-rectangular windows using custom Regions.
  • Access to Windows Registry.
  • Shell Folders: getting paths and icons of the user folders (Favorites, My Pictures, etc)
  • Shell Links: managing the system link files.
  • System Info: gathering CPU and memory information.
  • Specially, you can get a lot of functions via SWT, because SWT Extension extends SWT.
  • posted on 2007-06-28 17:10 三人行,必有我师焉 阅读(1324) 评论(7)  编辑  收藏

    评论

    # re: 昨晚赶工为SF上的项目做了个首页,SWT Extension Example可以下载了 2007-06-28 22:39 bean
    确实很不错。  回复  更多评论
      

    # re: 昨晚赶工为SF上的项目做了个首页,SWT Extension Example可以下载了[未登录] 2007-06-29 08:52 jones
    例子在XP上运行关闭后释放不了内存,而且太占内存了,这么几个小例子就占了好几十兆内存!  回复  更多评论
      

    # re: 昨晚赶工为SF上的项目做了个首页,SWT Extension Example可以下载了 2007-06-29 13:34 ddd
    难道GC没有执行?  回复  更多评论
      

    # re: 昨晚赶工为SF上的项目做了个首页,SWT Extension Example可以下载了 2007-06-29 13:37 huangpengxiao
    cpu利用率 如何实现的?  回复  更多评论
      

    # re: 昨晚赶工为SF上的项目做了个首页,SWT Extension Example可以下载了 2007-06-29 13:48 三人行,必有我师焉
    我看了一下,释放了内存了呀。至于这么几个小例子就占了好几十兆内存,这是Java程序的特质,没办法。  回复  更多评论
      

    # re: 昨晚赶工为SF上的项目做了个首页,SWT Extension Example可以下载了[未登录] 2007-07-05 09:40 xiaoxiao
    JNI需要手工释放从JVM传过来的对象以及生成的对象的内存,GC不负责回收这部分内容。  回复  更多评论
      

    # re: 昨晚赶工为SF上的项目做了个首页,SWT Extension Example可以下载了 2007-07-05 16:39 三人行,必有我师焉
    @xiaoxiao
    在JNI部分的C++代码中,系统本身的重量级代码都已经被释放了,都是将一些结构体中的数据信息传递给轻量级Java Class,我在SWT-Extension中的做法完全和SWT一样,并无二致。但是如果用到一些重量级的SWT 元素,比如Image之类的,是需要dispose的。  回复  更多评论
      


    只有注册用户登录后才能发表评论。


    网站导航:
     
    GitHub |  开源中国社区 |  maven仓库 |  文件格式转换