?? help.java
字號:
import com.ms.wfc.app.*;
import com.ms.wfc.core.*;
import com.ms.wfc.ui.*;
import com.ms.wfc.html.*;
/**
* This class can take a variable number of parameters on the command
* line. Program execution begins with the main() method. The class
* constructor is not invoked unless an object of type 'help'
* created in the main() method.
*/
public class help extends Form
{
public help()
{
super();
// Required for Visual J++ Form Designer support
initForm();
// TODO: Add any constructor code after initForm call
}
/**
* help overrides dispose so it can clean up the
* component list.
*/
public void dispose()
{
super.dispose();
components.dispose();
}
/**
* NOTE: The following code is required by the Visual J++ form
* designer. It can be modified using the form editor. Do not
* modify it using the code editor.
*/
Container components = new Container();
GroupBox groupBox1 = new GroupBox();
Edit edit1 = new Edit();
Button button1 = new Button();
Button button2 = new Button();
private void initForm()
{
// NOTE: This form is storing resource information in an
// external file. Do not modify the string parameter to any
// resources.getObject() function call. For example, do not
// modify "foo1_location" in the following line of code
// even if the name of the Foo object changes:
// foo1.setLocation((Point)resources.getObject("foo1_location"));
IResourceManager resources = new ResourceManager(this, "help");
groupBox1.setLocation(new Point(8, 8));
groupBox1.setSize(new Point(344, 184));
groupBox1.setTabIndex(0);
groupBox1.setTabStop(false);
groupBox1.setText("");
edit1.setLocation(new Point(8, 16));
edit1.setSize(new Point(328, 160));
edit1.setTabIndex(0);
edit1.setTabStop(false);
edit1.setText(" 本程序對腦電實驗獲得的EEG文件進行網絡功能的相關/相干分析。讀入EEG文件之前,你必須設定EEG文件的規格,幾個重要的參數是:實驗中電極導數electrade(是16導的還是30導的)、實驗重復次數trial(同一實驗需要重復多次)、采樣點數datapoint(一次行為實驗中采了多少個數據點)。默認的數值是electrade=16,trial=10,datapoint=1200,即:16導電極,重復10次,采樣點為1200點。具體的實驗可以設定具體的參數。導入EEG文件進行分析時,這幾個參數必須設置正確。在讀入數據之前有一個格式檢測,如果你輸入的參數與實際不符,則出現出錯信息,數據不予分析。\r\n 本實驗中,是從刺激開始呈現前200ms到刺激開始呈現后1000ms截取的1200ms的信號段。");
edit1.setMultiline(true);
edit1.setReadOnly(true);
edit1.setScrollBars(ScrollBars.VERTICAL);
button1.setLocation(new Point(24, 200));
button1.setSize(new Point(88, 24));
button1.setTabIndex(1);
button1.setText("確定");
button1.setDialogResult(DialogResult.OK);
button2.setLocation(new Point(248, 200));
button2.setSize(new Point(88, 24));
button2.setTabIndex(2);
button2.setText("取消");
button2.setDialogResult(DialogResult.CANCEL);
this.setText("程序說明");
this.setAcceptButton(button1);
this.setAutoScaleBaseSize(new Point(6, 12));
this.setBorderStyle(FormBorderStyle.FIXED_DIALOG);
this.setCancelButton(button2);
this.setClientSize(new Point(359, 232));
this.setIcon((Icon)resources.getObject("this_icon"));
this.setMaximizeBox(false);
this.setMinimizeBox(false);
this.setStartPosition(FormStartPosition.CENTER_SCREEN);
this.setNewControls(new Control[] {
button2,
button1,
groupBox1});
groupBox1.setNewControls(new Control[] {
edit1});
}
/**
* The main entry point for the application.
*
* @param args Array of parameters passed to the application
* via the command line.
*/
public static void main(String args[])
{
Application.run(new help());
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -