資源簡介
J2EE酒店管理系統源碼和文檔,參加企業實習項目,嚴格按照軟件工程做的.

代碼片段和文件信息
import?java.awt.Graphics;
import?java.awt.Color;
import?javax.swing.Japplet;
import?javax.swing.JOptionPane;
public?class?Draw?extends?Japplet{
private?int?xy;
private?int?widthAheightBheightCheightDheight;
private?int?startover;
private?int?flag;
private?int?a;
private?int?b;
private?int?xxyy;
private?int?AstartBstartCstartDstartEstartAoverBoverCoverDoverEover;
private?int?arcWidtharcHeight;
????public?void?init(){
????????flag=Integer.parseInt(getParameter(“flag“));?
????????if(flag==0){
????????
???? ???x=Integer.parseInt(getParameter(“x“));
???? ???y=Integer.parseInt(getParameter(“y“));
???? ???width=Integer.parseInt(getParameter(“width“));
???? ???Aheight=Integer.parseInt(getParameter(“Aheight“));
???? ???Bheight=Integer.parseInt(getParameter(“Bheight“));
???? ???Cheight=Integer.parseInt(getParameter(“Cheight“));
???? ???Dheight=Integer.parseInt(getParameter(“Dheight“));
???? ???start=Integer.parseInt(getParameter(“start“));
???? ???over=Integer.parseInt(getParameter(“over“));?????????
???????????width=20;
????????}
????????else{???
????????????xx=Integer.parseInt(getParameter(“xx“));
????????????yy=Integer.parseInt(getParameter(“yy“));
????????????arcWidth=Integer.parseInt(getParameter(“arcWidth“));
????????????arcHeight=Integer.parseInt(getParameter(“arcHeight“));
????????
????????????Astart=Integer.parseInt(getParameter(“Astart“));
????????????Bstart=Integer.parseInt(getParameter(“Bstart“));
????????????Cstart=Integer.parseInt(getParameter(“Cstart“));
????????????Dstart=Integer.parseInt(getParameter(“Dstart“));
????????????Estart=Integer.parseInt(getParameter(“Estart“));
????????????Aover=Integer.parseInt(getParameter(“Aover“));?????
????????????Bover=Integer.parseInt(getParameter(“Bover“));
????????????Cover=Integer.parseInt(getParameter(“Cover“));
????????????Dover=Integer.parseInt(getParameter(“Dover“));
????????????Eover=Integer.parseInt(getParameter(“Eover“));
????????}
????}
public?void?paint(Graphics?g){
?super.paint(g);
?
?if(flag==1){
???g.setColor(Color.red);
???????????g.fillArc(xxyyarcWidtharcHeightAstartAover);?//?參數?xywidthheight?start度數over度數
???????????
???????????g.setColor(Color.yellow);
???????????g.fillArc(xxyyarcWidtharcHeightBstart+1Bover);
???????????
???????????g.setColor(Color.green);
???????????g.fillArc(xxyyarcWidtharcHeightCstart+1Cover);
???????????g.setColor(Color.blue);
???????????g.fillArc(xxyyarcWidtharcHeightDstart+1Dover);
???????????g.setColor(Color.black);
???????????g.fillArc(xxyyarcWidtharcHeightEstart+1Eover);
??????
?????????}
?????????else?if(flag==0){
???????????g.setColor(Color.red);
???????????g.fill3DRect(x300-AheightwidthAheighttrue);
???????????g.setColor(Color.yellow);
???????????g.fill3DRect(x+30300-BheightwidthBheighttrue);
???????????g.setColor(Color.green);
???????????g.fill3DRect(x+60300-CheightwidthCheighttrue);
???????????g.
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????1428992??2006-07-20?11:12??復件?酒店管理系統\《專業實踐總結報告》.doc
?????文件????1235968??2006-07-05?12:23??復件?酒店管理系統\酒店管理系統演示文稿.ppt
?????文件??????91453??2004-05-19?14:50??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\anderson.jpg
?????文件????????648??2004-05-19?14:50??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\anfy.class
?????文件????????648??2004-05-19?14:50??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\anfy2.class
?????文件??????26299??2004-05-19?14:50??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\anpanorama.class
?????文件??????22480??2004-05-19?14:50??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\anpanorama.jar
?????文件?????????16??2006-06-03?21:28??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\anpanoramascr.txt
?????文件??????24838??2004-05-19?14:52??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\AnWater.class
?????文件??????14954??2004-05-19?14:52??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\AnWater.jar
?????文件??????19769??2004-05-19?14:50??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\bookflip.class
?????文件??????18323??2004-05-19?14:50??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\bookflip.jar
?????文件??????18351??2006-05-20?13:11??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\button.jpg
?????文件????????502??2006-05-22?22:54??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\CSStemp\25175_1.css
?????文件????????336??2006-05-16?21:16??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\CSStemp\CSS屬性解釋.txt
?????文件???????1557??2006-05-22?22:52??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\CSStemp\st
?????文件???????1227??2006-05-22?23:18??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\CSStemp\ys.css
?????文件????????279??2006-05-17?18:45??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\CSStemp\復件?test.css
?????文件???????2301??2006-05-13?10:47??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\Draw.class
?????文件???????3116??2006-05-13?10:47??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\Draw.java
?????文件???????1015??2006-06-04?11:04??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\error.jsp
?????文件??????39131??2002-01-20?02:18??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\images\011.jpg
?????文件??????51729??2002-01-20?02:35??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\images\046.jpg
?????文件??????31095??2002-01-20?02:40??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\images\092.jpg
?????文件??????18020??2002-01-20?03:26??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\images\1224.jpg
?????文件??????21297??2002-01-20?02:43??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\images\1323.jpg
?????文件??????21275??2002-01-20?02:23??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\images\137.jpg
?????文件??????74320??2002-01-20?02:54??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\images\1694.jpg
?????文件??????24891??2002-01-20?02:17??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\images\lei.jpg
?????文件??????26150??2006-05-27?14:23??復件?酒店管理系統\酒店管理系統項目代碼\restaurant\images\q2.jpg
............此處省略152個文件信息
評論
共有 條評論