- 10
- 0
- 约2.16万字
- 约 29页
- 2017-03-22 发布于江苏
- 举报
电梯模拟程序
电梯模拟程序
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.io.*;
public class LiftMainTest
{
public static void main(String args[])
{
new LiftTest(电梯测试);
}
}
//批量数据测试对话框
class Dialog extends JDialog implements ActionListener
{
int Message=0;
JPanel DJPanel=new JPanel();
JTextField TestField[]=new JTextField[16];
JLabel TestLabel1=new JLabel(时间);
JLabel TestLabel2=new JLabel(人数);
JLabel TestLabel3=new JLabel(起始楼层);
JLabel TestLabel4=new JLabel(目标楼层);
JButton ok=new JButton(确定);
JButton cancel=new JButton(取消);
Dialog(JFrame f,String s,boolean b)
{
super(f,s,b);
DJPa
原创力文档

文档评论(0)