freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

簡(jiǎn)易計(jì)算器課程設(shè)計(jì)-文庫(kù)吧資料

2025-06-15 01:56本頁(yè)面
  

【正文】 (this)。 ()。 (this)。 ()。 (this)。 ()。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (c)。 (Back)。 (eight)。 (sixteen)。//C ()。 (this)。 ce=new JButton(CE)。//Back ()。 ()。 (text)。 (eight)。//創(chuàng)建一個(gè)多斥作用域 (sixteen)。 (this)。 (this)。 num9=new JButton(9)。 lgX=new JButton(lgX)。 sin=new JButton(sin)。 num8=new JButton(8)。 num6=new JButton(6)。 num4=new JButton(4)。 num2=new JButton(2)。 num0=new JButton(0)。 kai = new JButton(sqrt)。 fu = new JButton(+/)。 quyu = new JButton(%)。 chu = new JButton(247。 jian = new JButton()。 (false)。 (false)。 (false)。 (false)。 (false)。 (false)。 (false)。 (false)。 (false)。 (false)。 (new GridLayout(7,4))。 (new GridLayout(1,1))。 (cp2,Center)。 20 cp=getContentPane()。 JPanel cp2=new JPanel()。 ()。 setLocation(400,400)。 public Calculator(){ super(計(jì)算器 )。 String fuhao,copy。 int all=0。 String copycontent=。 Container cp。//單選按扭 JButton Back,ce,c,num0,num1,num2,num3,num4,num5,num6,num7,num8,num9。//各個(gè)進(jìn)制之間的轉(zhuǎn)化 JMenuItem fileMenu,exitItemOfFile,s,t, about, me。 public class Calculator extends JFrame implements ActionListener{ JScrollPane scrollHelp。 import 。 八 、源代碼 import .*。由于專業(yè)知識(shí)有限,以及動(dòng)手能力的欠缺,所以開(kāi)發(fā)的系統(tǒng)不是很完善,有一些功能未實(shí)現(xiàn),但是簡(jiǎn)易計(jì)算器的基本功能均已實(shí)現(xiàn)。 這次課程設(shè)計(jì)的主要目的是 學(xué)會(huì) Java程序開(kāi)發(fā)的環(huán)境搭建與配置,并在實(shí)際運(yùn)用中學(xué)習(xí)和掌握 Java程序開(kāi)發(fā)的全過(guò)程 ,以及 進(jìn)一步熟悉掌握 Java程序設(shè)計(jì)語(yǔ)言的基礎(chǔ)內(nèi)容 ,提高 Java 編程技術(shù)以及分析解決問(wèn)題的綜合能力。因此在以后的學(xué)習(xí)中我會(huì)通過(guò)實(shí)踐來(lái)檢驗(yàn)自己的不足和加深、鞏固自身。設(shè)計(jì)過(guò)程中遇到了不少麻煩:如進(jìn)制間的轉(zhuǎn)換,也遇到了平時(shí)學(xué)習(xí)中老師強(qiáng)調(diào)與教過(guò)的疑難點(diǎn) ,不懂的通過(guò)翻閱資 19 料和與同學(xué)間的討論都一一解決了。本次的 Java課程設(shè)計(jì)讓我對(duì) Java的理論知識(shí)又有了更深一步的了解,溫故而知新,開(kāi)始設(shè)計(jì)時(shí)完全沒(méi)頭緒,感覺(jué)很混亂,對(duì)書(shū)本知識(shí)不夠 扎實(shí)的我深感“書(shū)到用時(shí)方恨少”,只好又一遍瀏覽全書(shū),讓我對(duì)其有了大概的復(fù)習(xí),對(duì)知識(shí)系統(tǒng)全面進(jìn)行了了解,讓我里出了我設(shè)計(jì)的框架,遇到困難時(shí)先是苦思冥想在向同學(xué)請(qǐng)教。 } } 六 、參考文獻(xiàn) [01]施霞萍 ,張歡 .Java課程設(shè)計(jì) (第二版 )[M]機(jī)械工業(yè)出版社 .2021年 8月 [02] 耿祥義 ,張躍平 . Java2實(shí)用教程(第三版) .清華大學(xué)出版社。i) answer+=(i1)。 } } for(int i=length。padding0。 int length = ()。 } } return invert (strBinNum, 8)。 }else{ strBinNum += (decNum)。 while (decNum != 0) { if (decNum 1){ strBinNum += (decNum % 2)。 } } return invert (strOctNum, 3)。 }else{ strOctNum += (decNum)。 while (decNum != 0){ if (decNum 7){ strOctNum += (decNum % 8)。 } } return invert(strHexNum,2)。 default: strHexNum +=(currentNum)。 case 10: strHexNum += A。 case 11: strHexNum += B。 case 12: strHexNum += C。 case 13: strHexNum += D。 case 14: strHexNum += E。 } switch (currentNum){ case 15: strHexNum += F。 } 17 else{ currentNum = decNum。 while(decNum != 0){ if (decNum 15){ currentNum=decNum%16。 } public String decHex (int decNum){//10 to 16 String strHexNum = 。 i++) strDecNum = 0 + strDecNum。 for (int i = ()。 } } 6、 退出窗口動(dòng)作 class WindowDestroyer extends WindowAdapter{// public void windowClosing(WindowEvent e){ (0)。39。 (() + a)。 i ()。){ ()。 } 16 if (isNumber == true){ if ((0) == 39。)){ isNumber = false。||(i)==39。||(i)==39。(i)=39。amp。 i++) if(!((i)=39。 for (int i = 0。 } 5、正負(fù)號(hào)運(yùn)算 if (temp == fu){ boolean isNumber = true。 } else (s)。 k++) stemp += (k)。 for (k = 0。 break。039。 j ()。) break。 i++) if ((i) == 39。 for (i = 0。 int i, j, k。 ().length() == 1) (除數(shù)不能為零 )。 amp。 } 15 if (temp == dao){ if (().charAt(0) == 39。 else (( ((()))))。39。 } 4、開(kāi)方、求倒運(yùn)算 if (temp == kai){ String s = ()。 } 3、對(duì)數(shù)運(yùn)算 if(temp==lgX){ ((((etText()))))。 } if(temp==sin){ ((((())*)))。 14 clear = false。) (qian / ss + )。 if (fuhao == ) (qian * ss + )。 if (fuhao == +) (qian + ss + )。 } if (temp == deng){ double ss = (())。 fuhao=%。 clear = false。 } if(temp==chu){ qian = (())。 fuhao = 。 clear = false。 13 } if (temp == jian){ qian = (())。 fuhao = +。 4 、 這是“幫助”菜單里的“關(guān)于計(jì)算器”菜單項(xiàng):用了(null, 計(jì)算機(jī)開(kāi)發(fā)者:魏曉力 )。 +\n)。 +\n)。 (2. 單擊“ +”執(zhí)行加、“ ”執(zhí)行減、“ *”執(zhí)行乘或“ /”執(zhí)行除+\n)。 (1. 鍵入計(jì)算的第一個(gè)數(shù)字。 (false)。 12 JTe
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1