📄 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();
Button button1 = new Button();
Edit edit1 = new Edit();
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, 0));
groupBox1.setSize(new Point(280, 176));
groupBox1.setTabIndex(0);
groupBox1.setTabStop(false);
groupBox1.setText("");
button1.setLocation(new Point(216, 184));
button1.setSize(new Point(72, 24));
button1.setTabIndex(1);
button1.setText("&OK");
button1.setDialogResult(DialogResult.OK);
this.setText("help");
this.setAcceptButton(button1);
this.setAutoScaleBaseSize(new Point(6, 12));
this.setBorderStyle(FormBorderStyle.FIXED_DIALOG);
this.setClientSize(new Point(294, 215));
this.setHelpButton(true);
this.setIcon((Icon)resources.getObject("this_icon"));
this.setMaximizeBox(false);
this.setMinimizeBox(false);
this.setStartPosition(FormStartPosition.CENTER_SCREEN);
edit1.setBackColor(Color.INFO);
edit1.setForeColor(Color.DESKTOP);
edit1.setLocation(new Point(8, 16));
edit1.setSize(new Point(264, 152));
edit1.setTabIndex(0);
edit1.setText("Design a second-order IIR bandpass filter with a center frequency at 0.7π and a 3-dB bandwidth of 0.15π.Plot its gain response.");
edit1.setMultiline(true);
edit1.setReadOnly(true);
edit1.setScrollBars(ScrollBars.VERTICAL);
this.setNewControls(new Control[] {
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 + -