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

📄 aboutguidialog.java

📁 JAVA 数学程序库 提供常规的数值计算程序包
💻 JAVA
字号:
package jmathlib.ui.awt;

import java.awt.*;

/**Simple dialog extension that creates a new non-modal and centered dialog.*/
public class AboutGUIDialog extends GUIDialog
{
	private static final int LEFT = 80;

	private Label content0Label;
	private Label content1Label;
	private Label content2Label;
	private Label content3Label;

	public AboutGUIDialog(Frame _owner)
	{
		super(_owner, "About JMathLib");
		setVisible(false);
		setSize(250, 135);
		setResizable(false);
		// Let's initialize the labels
		content0Label = new Label("The JMathLib team (by now)");
		content0Label.setLocation(getInsets().left+40, getInsets().top+30);
		content0Label.setSize(200, 21);
		content0Label.setFont(new Font("Dialog", Font.BOLD, 12));
		content0Label.setForeground(new Color(8421504));

        content1Label = new Label("Stefan Mueller");
        content1Label.setLocation(getInsets().left+LEFT, getInsets().top+60);
        content1Label.setSize(100, 21);

        content2Label = new Label("Mark Sparshatt");
		content2Label.setLocation(getInsets().left+LEFT, getInsets().top+80);
		content2Label.setSize(100, 21);

		content3Label = new Label("Alejandro Torras");
		content3Label.setLocation(getInsets().left+LEFT, getInsets().top+100);
		content3Label.setSize(100, 21);

		add(content0Label);
		add(content1Label);
		add(content2Label);
		add(content3Label);
		setVisible(true);
	}
}

⌨️ 快捷键说明

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