摘要:
Pictures and icons used within an application are not loaded over the installer, but over acentral ImageUtilities class in the NetBeans world. The method loadImage() should be used.An icon manager manages images and icons, preventing repeated loading of resources.Use it to load icons from all availa
阅读全文
posted @ 2011-10-18 12:38
网络大豆
阅读(325)
推荐(0)
编辑
摘要:
1 在模块根目录下编辑mode文件,例如chatEditor.wsmode<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE mode PUBLIC "-//NetBeans//DTD Mode Properties 2.1//EN" "http://www.netbeans.org/dtds/mode-properties2_1.dtd"><mode version="2.1"> <name unique=&
阅读全文
posted @ 2011-10-18 12:38
网络大豆
阅读(378)
推荐(0)
编辑
摘要:
否则编译时会出现错误error: cannot access XXX序列化时需要访问实现类,故实现类也必须放在共有接口\java.io.IOException: Unable to create a messenger to jxta://cbid-59616261646162614A787461503250339B80947442A966E8BEC09A04724886F203/PipeService/urn:jxta:cbid-A1B68F40F0E84E66A8A7C66DCB652BCD9989972C7C7A4D87AD35941B9EE5DDE204 at net.jxta.imp
阅读全文
posted @ 2011-10-18 12:37
网络大豆
阅读(210)
推荐(0)
编辑
摘要:
Plugin-specific settings, used internally as well as by the user, are managed via the Preferencesclass or the IPreferenceStore class in Eclipse RCP, which is set up via the Activator class. TheNetBeans Platform takes a slightly different approach. Managing settings is handled by the JavaPreferences
阅读全文
posted @ 2011-10-18 12:35
网络大豆
阅读(233)
推荐(0)
编辑
摘要:
PipeStateListener和PipeEventListener先看二者的定义/*** The listener interface for receiving JxtaBiDiPipe * events.* * The following example illustrates how to implement a {@link net.jxta.util.PipeStateListener}:** PipeStateListener myListener = new PipeStateListener() {** public void pipeEvent(int event) {*
阅读全文
posted @ 2011-10-18 12:29
网络大豆
阅读(322)
推荐(0)
编辑