- 1、本文档共20页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Java课程设计总报告(模拟电梯系统)
Java课程设计报告
组号:第四组
课题名称:模拟电梯调度
班级:09计一
课题组成员姓名及学号:
课程设计日期:2011.6.20-2011.6.24
地点:秋白楼B720
程序源代码:
import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
public class lastdt extends Applet implements Runnable,ActionListener
{
Thread th1;
int y1=440,y2=440,y3=440,x1=10,x2=10,x3=10,x4=10,x5=10,x6=10;
boolean open1=false,open2=false,open3=false,move=false,moving1=false,moving2=false,moving3=false;
int s,t;
int n1[]={0,0,0},n2[]={0,0,0},n3[]={0,0,0},number[]={0,0,0,0};
int a1,a2,a3,b1,b2,b3,c1,c2,c3;
Label l1,l2,l3,l4,l5,l6,l7,l8,l9;
Image BufferImage;
Graphics BufferGraphics;
Button bt1=new Button(up);
Button bt3=new Button(1);
Button bt4=new Button(2);
Button bt5=new Button(3);
Button bt21=new Button(up);
Button bt22=new Button(down);
Button bt23=new Button(1);
Button bt24=new Button(2);
Button bt25=new Button(3);
Button bt32=new Button(down);
Button bt33=new Button(1);
Button bt34=new Button(2);
Button bt35=new Button(3);
public void init()
{
setLayout(null);
Font f=new Font(Times New Roman, Font.PLAIN,20);
l1=new Label(1);
l2=new Label(1);
l3=new Label(1);
l4=new Label(1);
l5=new Label(1);
l6=new Label(1);
l7=new Label(1);
l8=new Label(1);
l9=new Label(1);
add(l1);
add(l2);
add(l3);
add(l4);
add(l5);
add(l6);
add(l7);
add(l8);
add(l9);
l1.setBounds(80,535,10,18);
l2.setBounds(100,535,10,18);
l3.setBounds(120,535,10,18);
l4.setBounds(80,380,10,18);
l5.setBounds(100,380,10,18);
l6.setBounds(120,380,10,18);
l7.setBounds(80,230,10,18);
l8.setBounds(100,230,10,18);
l9.setBounds(120,230,10,18);
Panel pnl1=new Panel(new GridLayout(1,2));
Panel pnl2=new Panel(new GridLayout(1,2));
Panel pnl3=new Panel(new GridLa
您可能关注的文档
- 2013年国考省考公务员申论必威体育精装版热点概要.doc
- 2013年国考真题打印版.docx
- 2013年国考面试重点突破.doc
- 2013年大学毕业生开题报告模板.doc
- 2013年国考行测答案(中版)下载.doc.doc
- 2013年大学生士兵考军校试题 政治基础训练(必威体育精装版整理).doc
- 2013年安徽会计从业考试《电算化》第三套测试卷.docx
- 2013年国考行测图形推理每日一练.doc
- 2013年山东省事业单位考试-马哲讲义.doc
- 2013年国考行测真题{最全版本}.doc
- 2025至2030年花键模数滚刀项目投资价值分析报告.docx
- 2025至2030年节能电焊机项目投资价值分析报告.docx
- 2025至2030年船钟项目投资价值分析报告.docx
- 2025至2030年苹果树苗项目投资价值分析报告.docx
- 2025至2030年茴脑项目投资价值分析报告.docx
- 2025至2030年草原鲜奶项目投资价值分析报告.docx
- 2025至2030年自动吸风手印台项目投资价值分析报告.docx
- 2025至2030年自动仿型刨边机项目投资价值分析报告.docx
- 2025至2030年茶花项目投资价值分析报告.docx
- 2025至2030年耐磨带项目投资价值分析报告.docx
文档评论(0)