自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 javascript随笔

1、作用域 定义变量使用var语句。当变量在函数内部定义时,var有着函数范围(function-scope)级别,这个变量不能在函数外被访问。JavaScript中没有其他的范围域粒度了,更具体的说,JavaScript中没有块域(block-scope)。 任何在函数中使用但没有用var明确定义的变量,都会被假定属于全局对象。 任何没有被明确初始化的变量都会被赋值于undefin...

2009-04-04 17:29:22 95

netbeans中生成updates.xml

在编译netbeans平台时,生成nbm后,竟然没有updates.xml,看了下代码,找到了这个ant命令,在netbeans build system模块中,在build.xml中添加如下target。 [code="java"] ...

2009-03-12 11:05:43 181

如何编译netbeans平台

第一步下载平台源码,我只下载platform的,每日构建的下载地址为http://bits.netbeans.org/dev/nightly,选择最新的日期,在页面选择zip格式文档,再选择*platform-src.zip,下载后,解压,在nebeans中打开项目,选择nbbuid模块,打开后为Netbeans Buid System,在其根目录下建立user.build.properties文...

2009-02-24 21:40:50 389

netbeans rcp中如何编程设置主窗口标题

[code="java"] public static void setTitle(final String title) { WindowManager.getDefault().invokeWhenUIReady(new Runnable() { public void run() { WindowManager...

2008-10-14 15:37:07 685

netbenas中查找中文字符

查找内容[\u4e00-\u9fa5] 选择正则表达式 测试中,找到部分中文,不知道是不是都可以找得出来。 修正:[\u4E00-\u9FA5]|[\uFE30-\uFFA0]

2008-09-22 16:33:30 149

原创 Swing中的线程(摘录)

As we discussed earlier, Swing relies on the older AWT GUI toolkit for top-level window support and event dispatching. Whenever you run a Swing application, three threads are automatically created. ...

2008-09-22 10:27:09 78

netbeans显示错误信息

ErrorManager.getDefault().notify(ErrorManager.INFORMATIONAL, exception);

2008-08-20 14:20:53 689

NotifyDescriptor经典用法

[code="java"]private static boolean showDialog(URL whereTo) { String msg = NbBundle.getMessage(FeedbackSurvey.class, "MSG_FeedbackSurvey_Message"); String tit = NbBundle.getMessage(F...

2008-08-20 14:00:30 199

how to add development plugin centers

* To install the development update center Select to Tools | Plug-ins from the menu and go to the Settings tab. click Add. Enter the following: Name: dev (or any name of your choic...

2008-05-18 10:01:01 98

netbeans log

You can use: File udir = new File(System.getProperty("netbeans.user")); or you can use: FileObject root = Repository.getDefault().getDefaultFileSystem().getRoot(); File udir = FileUtil.toFile(ro...

2008-04-11 23:46:24 249

Autoupdate EVERY_STARTUP

The core snippet is here: public class Installer extends ModuleInstall { public void restored() { modifyAutoupdateSettings(); } private void modifyAutoupdateSettings (...

2008-04-11 23:41:01 112

Replacing the default Exception dialog

1、adding a META-INF/services for java.util.logging.Handler 2、#-org.netbeans.core.NbErrorManager my.company.MyErrorHandler

2008-04-11 23:36:37 79

推荐netbeans的两个小插件

1、Run Terminal http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=2876 打开操作系统的shell,windows下就是cmd了,直接在项目目录打开,用途不多说了,有时候挺管用。 2、Explore From Here http://sourceforge.net/pro...

2008-01-02 10:13:18 642

编译netbeans6

1、下载netbeans源代码,解压,例如:e:/netbeans/source。 2、用netbeans打开源码路径中的nbbuild 3、修改defaults-properties.xml中的 为 4、编译nbbuild,如果安装的是jdk1.6,需要安装jdk1.5,在nbbuild项目中新建 user.build.properties文件,加入: nbjdk.home=d:...

2007-12-05 10:17:46 128

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除