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

正文內(nèi)容

簡(jiǎn)易計(jì)算器課程設(shè)計(jì)-免費(fèi)閱讀

  

【正文】 } private String invert(String strNum,int minLength){ String answer = 。 decNum = 0。 break。 break。 int currentNum = 0。 clear = false。 i ()。)){ isNumber = false。amp。 } else (s)。039。 for (i = 0。 } if (temp == dao){ if(().charAt(0) == 39。 } if(temp==lgX){ ((( (()))))。 if (fuhao == ) (qian * ss + )。 clear = false。 } if (temp == jian){ qian = (())。.39。 if(temp==cc) (() + C)。 } if(temp == num8){ if(clear==false) ()。 (() + 5)。 clear = true。 first = 1。 i++){ char a = (i)。 jin = 10。 jin = 8。 if (temp == me){ (null,scrollHelp)。 (●科學(xué)型 )。 (false)。 (false)。 (this)。 (3. 鍵入計(jì)算的下一個(gè)數(shù)字。 24 JTextArea help = new JTextArea(10, 30)。 t = new JMenuItem(●標(biāo)準(zhǔn)型 )。 (editMenu)。 ()。 ()。 ()。 (lgX)。 (cos)。 (fu)。 (num3)。 (cheng)。 22 (kai)。 (num7)。 (this)。 Back=new JButton(Back)。 ButtonGroup btg=new ButtonGroup()。 tan=new JButton(tan)。 num3=new JButton(3)。 deng = new JButton(=)。 ff = new JButton(F)。 b = new JButton(B)。 ten=new JRadioButton(進(jìn)制 ,true)。 (cp1,North)。 setSize(400,400)。//容器,便于集體操作 JTextField text。 import .*。以此來(lái)完善自己的知識(shí)系統(tǒng)。 return answer。 } private String invert(String strNum,int minLength){ String answer = 。 decNum = 0。 break。 break。 int currentNum = 0。 + s)。39。939。 String s = ()。 } if (isDec == true){ String stemp = 。.39。amp。 if ((0) == 39。 if(fuhao==%) (qian%ss + )。 clear = false。 } if (temp == cheng){ qian = (())。 (5. 單擊“ =“ )。 (執(zhí)行簡(jiǎn)單計(jì)算 +\n)。 (me)。 s = new JMenuItem( 科學(xué)型 )。 (helpMenu)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (sixteen)。//Back ()。//創(chuàng)建一個(gè)多斥作用域 (sixteen)。 lgX=new JButton(lgX)。 num4=new JButton(4)。 fu = new JButton(+/)。 (false)。 (false)。 (false)。 (cp2,Center)。 setLocation(400,400)。 String copycontent=。 界面設(shè)計(jì) 1 、 調(diào)試后的界面:標(biāo)準(zhǔn)型 JScrollPane scrollHelp。 在此聲明的是每次輸入的數(shù)據(jù)都要進(jìn)行類型轉(zhuǎn)換。我的計(jì)算器具有的功能如下: 實(shí)現(xiàn)基本的加、減、乘、除四則運(yùn)算及開方、求倒、求模。 22 2 一 、運(yùn)行環(huán)境 (1).操作系統(tǒng): Solaris、 Windows xp、 Windows 7等 (2). 應(yīng)用軟件: 、 Eclipse 二 、問(wèn)題描述及要求 制作一個(gè)計(jì)算器,要求仿 Windows 里的計(jì)算器,設(shè)計(jì)一個(gè)圖形界面,其中基本組件包括 0~ +、 、 *、 /、 .、 =、 +/、 Back、 CE、 C、 sqrt、 %、 1/x、。 6 5 四、設(shè)計(jì)思路 7 7 7 7 計(jì)算功能實(shí)現(xiàn) “幫助”菜單中有“關(guān)于計(jì)算器”、“幫助主題”菜單項(xiàng),并實(shí)現(xiàn)相關(guān)功能。各種按鈕采用n行n列的網(wǎng)格布局 ,并注冊(cè)按鈕事件監(jiān)聽器。 import .*。 5 Jbutton a,b,cc,dd,ee,ff,jia,jian,cheng,chu,quyu,deng,fu,dian,kai,dao,cos,sin,tan,lgX,lnX。 int jin=10,first=1。 JPanel cp3=new JPanel()。 sixteen=new JRadioButton(十六進(jìn)制 )。 a = new JButton(A)。 ee = new JButton(E)。)。 num1=new JButton(1)。 cos=new JButton(cos)。 (this)。 (false)。 c=new JButton(C)。 (ce)。 (chu)。 (num6)。 (num2)。 (num0)。 (deng)。 (lnX)。 (b)。 (dd)。 10 (ff)。 JMenu helpMenu = new JMenu(幫助 )。 (fileMenu)。 about = new JMenuItem( 關(guān)于計(jì)算器 )。 12 JTextArea help = new JTextArea(10, 30)。 +\n)。 13 } if (temp == jian){ qian = (())。 clear = false。 if (fuhao == ) (qian * ss + )。 } 3、對(duì)數(shù)運(yùn)算 if(temp==lgX){ ((((etText()))))。 } 15 if (temp == dao){ if (().charAt(0) == 39。 for (i = 0。039。 } else (s)。amp。)){ isNumber = false。 (() + a)。 i++) strDecNum = 0 + strDecNum。 } switch (currentNum){ case 15: strHexNum += F。 case 11: strHexNum += B。 while (decNum != 0){ if (decNum 7){ strOctNum += (decNum % 8)。 }else{ strBinNum += (decNum)。 } } for(int i=length。設(shè)計(jì)過(guò)程中遇到了不少麻煩:如進(jìn)制間的轉(zhuǎn)換,也遇到了平時(shí)學(xué)習(xí)中老師強(qiáng)調(diào)與教過(guò)的疑難點(diǎn) ,不懂的通過(guò)翻閱資 19 料和與同學(xué)間的討論都一一解決了。 八 、源代碼 import .*。//單選按扭 JButton Back,ce,c,num0,num1,num2,num3,num4,num5,num6,num7,num8,num9。 String fuhao,copy。 JPanel cp2=new JPanel()。 (new GridLayout(7,4))。 (false)。 (false)。 chu = new JButton(247。 num0=new JButton(0)。 num8=new JButton(8)。 (this)。 (text)。 (this)。 (Back)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 JMenu viewMenu = new JMenu(查看 )。 (this)。 (this)。 +\n)。 (ab
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1