eclipse RCP
共 2 篇文章
SWT 引进的类包的配置
eclipse RCP里调用时找不到类,直接在类中使用main方法可以。 报的异常是java.lang.ClassNotFoundException: 需要在 plugin.xml文件在Runtime选项卡中的classPath中把javax.media.NoPlayerException 相关jar包添加进去
2010-02-02 14:45 · eclipse RCP · Java · Eclipse · XML
SWT对话框
SWT对话框 对话框,都继承自org.eclipse.swt.widgets.Dialog,有Modal的和Modeless的区分,一般的对话框处理程序如下: dlg = new (shell); dlg.setSomeData(data); returnValue = dlg.open(); if (returnValue == null) { // User clicked cancel } else { // Do something with returnValue } 对话框主要有以下六种: 1、MessageBox,消息对话框 可定制的对话框样式包括: 标题栏:setText()…
2010-02-02 14:42 · eclipse RCP · Eclipse