2009年2月24日 星期二
2009年2月17日 星期二
Image top = ImageUtils.loadPng(new File(getSkinDirectory(), "kde/titlebar_selected.png").getAbsolutePath());
getAbsolutePath() and load an image.
2009年2月11日 星期三
OSGi Bundles Worldwide.
http://www.google.com/notebook/public/07454133468172869619/BDSOkDAoQitaurfYj
This webpage will collect as much as OSGi compatible bundles as an OSGi Bundle Protal.
This webpage will collect as much as OSGi compatible bundles as an OSGi Bundle Protal.
2009年2月9日 星期一
context.installBundle( "file:/classes/client1.jar" ).start();
How to install and run another OSGi bundle in Java.
you can get context from your start(BundleContext context).
you can get context from your start(BundleContext context).
2009年2月8日 星期日
boolean bDebug = "true".equals( System.getProperty( "org.knopflerfish.soap .remotefw.server.debug", "false"));
How to get System Property from java and check the result in one line.
2009年2月7日 星期六
this.getClass(). getResource( "square.png" )
the image file "square.png" should be under the same directory as the class.
訂閱:
文章 (Atom)