⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aboutme.java

📁 IIR带通滤波器设计,提供交互界面,JAVA编写,VJ编译
💻 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 'aboutme'
 * created in the main() method.
 */
public class aboutme extends Form
{
	public aboutme()
	{
		super();

		// Required for Visual J++ Form Designer support
		initForm();		

		// TODO: Add any constructor code after initForm call
	}

	/**
	 * aboutme 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();
	Label label1 = new Label();
	Label label2 = new Label();
	Label label3 = new Label();
	Label label4 = new Label();
	Label label5 = new Label();
	Label label6 = new Label();
	Label label7 = new Label();
	Label label8 = new Label();
	Button button1 = new Button();
	PictureBox pictureBox1 = new PictureBox();

	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, "aboutme");
		this.setText("aboutme");
		this.setAutoScaleBaseSize(new Point(6, 12));
		this.setBorderStyle(FormBorderStyle.FIXED_DIALOG);
		this.setClientSize(new Point(320, 166));
		this.setIcon((Icon)resources.getObject("this_icon"));
		this.setMaximizeBox(false);
		this.setMinimizeBox(false);
		this.setStartPosition(FormStartPosition.CENTER_SCREEN);

		groupBox1.setLocation(new Point(112, 0));
		groupBox1.setSize(new Point(200, 128));
		groupBox1.setTabIndex(0);
		groupBox1.setTabStop(false);
		groupBox1.setText("");

		label1.setLocation(new Point(16, 16));
		label1.setSize(new Point(48, 16));
		label1.setTabIndex(0);
		label1.setTabStop(false);
		label1.setText("姓名:");

		label2.setLocation(new Point(16, 40));
		label2.setSize(new Point(40, 16));
		label2.setTabIndex(1);
		label2.setTabStop(false);
		label2.setText("学号:");

		label3.setLocation(new Point(16, 64));
		label3.setSize(new Point(40, 16));
		label3.setTabIndex(2);
		label3.setTabStop(false);
		label3.setText("单位:");

		label4.setLocation(new Point(16, 88));
		label4.setSize(new Point(48, 16));
		label4.setTabIndex(3);
		label4.setTabStop(false);
		label4.setText("Email:");

		label5.setBackColor(Color.INFO);
		label5.setLocation(new Point(64, 16));
		label5.setSize(new Point(120, 16));
		label5.setTabIndex(4);
		label5.setTabStop(false);
		label5.setText("胡桂林");

		label6.setBackColor(Color.INFO);
		label6.setLocation(new Point(64, 40));
		label6.setSize(new Point(120, 16));
		label6.setTabIndex(5);
		label6.setTabStop(false);
		label6.setText("10380009");

		label7.setBackColor(Color.INFO);
		label7.setLocation(new Point(64, 64));
		label7.setSize(new Point(120, 16));
		label7.setTabIndex(6);
		label7.setTabStop(false);
		label7.setText("信息中心心理组");

		label8.setBackColor(Color.INFO);
		label8.setLocation(new Point(64, 88));
		label8.setSize(new Point(120, 16));
		label8.setTabIndex(7);
		label8.setTabStop(false);
		label8.setText("hugl@cis.pku.edu.cn");

		button1.setLocation(new Point(232, 136));
		button1.setSize(new Point(80, 24));
		button1.setTabIndex(1);
		button1.setText("&OK");
		button1.setDialogResult(DialogResult.OK);

		pictureBox1.setLocation(new Point(8, 8));
		pictureBox1.setSize(new Point(96, 120));
		pictureBox1.setTabIndex(2);
		pictureBox1.setTabStop(false);
		pictureBox1.setText("pictureBox1");
		pictureBox1.setImage((Bitmap)resources.getObject("pictureBox1_image"));

		this.setNewControls(new Control[] {
							pictureBox1, 
							button1, 
							groupBox1});
		groupBox1.setNewControls(new Control[] {
								 label8, 
								 label7, 
								 label6, 
								 label5, 
								 label4, 
								 label3, 
								 label2, 
								 label1});
	}

	/**
	 * The main entry point for the application. 
	 *
	 * @param args Array of parameters passed to the application
	 * via the command line.
	 */
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -