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

正文內(nèi)容

簡(jiǎn)易計(jì)算器課程設(shè)計(jì)(留存版)

2025-08-06 01:56上一頁面

下一頁面
  

【正文】 import .*。 int jin=10,first=1。 sixteen=new JRadioButton(十六進(jìn)制 )。 ee = new JButton(E)。 num1=new JButton(1)。 (this)。 c=new JButton(C)。 (chu)。 (num2)。 (deng)。 (b)。 (ff)。 (fileMenu)。 (2. 單擊“ +”執(zhí)行加、“ ”執(zhí)行減、“ *”執(zhí)行乘或“ /”執(zhí)行除。 } if(temp==exitItemOfFile){ (copy)。 (true)。 int intoct = (oct, jin)。 for (int i = 0。//第二次不在清空(前二句) } if(temp == num2){ if(clear == false) ()。 (() + 7)。 i ().length()。 } if(temp==chu){ qian = (())。 } if(temp==sin){ ((( (())*)))。 30 int i, j, k。 k++) stemp += (k)。||(i)==39。 } } }catch (Exception eee){ 31 (error)。 break。 decNum /= 8。 if (length minLength){ for (int padding =(minLength length)。break。 decNum /= 16。 (() + a)。(i)=39。 break。 amp。) (qian / ss + )。 clear = false。 if(temp ==ee) 28 (() + E)。 } if(temp == num6){ if(clear == false) ()。 (() + 0)。 (error)。 int inthex = (hex, jin)。 (false)。//結(jié)束窗口 } public void actionPerformed(ActionEvent e){//響應(yīng)動(dòng)作代碼 if (first == 1) ()。 (false)。 fileMenu = new JMenu(復(fù)制 C Ctrl+C)。 (ee)。 (a)。 (dian)。 (quyu)。 (num8)。 (this)。 lnX=new JButton(lnX)。 dian = new JButton(.)。 cc = new JButton(C)。 (cp3,South)。 boolean clickable=true,clear=true。通過這次課程設(shè)計(jì),我基本掌握了以上要求。 if (length minLength){ for (int padding =(minLength length)。break。 decNum /= 16。 for (int i = 1。 i ()。 for (j = i + 1。) (負(fù)數(shù)不能開根號(hào) )。 ()。 計(jì)算功能實(shí)現(xiàn) 1、四則運(yùn)算 if (temp == jia){//加法 qian = (())。 (this)。 exitItemOfFile = new JMenuItem(粘貼 V Ctrl+V)。 ()。 ()。 (this)。 (this)。 (this)。 ce=new JButton(CE)。 num9=new JButton(9)。 kai = new JButton(sqrt)。 (false)。 (new GridLayout(1,1))。 int all=0。 * * 繼承的父類 : JFrame 類 * * 實(shí)現(xiàn)的接口 :ActionListener 類 * ********************************************************** * 類名 : WindowDestroyer * * 作用 : 退出窗口動(dòng)作。 在我的計(jì)算器上實(shí)現(xiàn)了以上功能。 菜單中包含的一些功能,如幫助文檔。 JRadioButton sixteen,ten,eight,two。//從左到右 JPanel cp1=new JPanel()。 two=new JRadioButton(二進(jìn)制 )。 cheng = new JButton()。 num7=new JButton(7)。 (two)。 (two)。 (num5)。 (dao)。 (tan)。 ()。 JMenu editMenu = new JMenu(編輯 )。 (this)。 (2. 單擊“ +”執(zhí)行加、“ ”執(zhí)行減、“ *”執(zhí)行乘或“ /”執(zhí)行除+\n)。 } if(temp==chu){ qian = (())。 } if(temp==sin){ ((((())*)))。 int i, j, k。 k++) stemp += (k)。||(i)==39。 for (int i = ()。 case 12: strHexNum += C。 while (decNum != 0) { if (decNum 1){ strBinNum += (decNum % 2)。本次的 Java課程設(shè)計(jì)讓我對(duì) Java的理論知識(shí)又有了更深一步的了解,溫故而知新,開始設(shè)計(jì)時(shí)完全沒頭緒,感覺很混亂,對(duì)書本知識(shí)不夠 扎實(shí)的我深感“書到用時(shí)方恨少”,只好又一遍瀏覽全書,讓我對(duì)其有了大概的復(fù)習(xí),對(duì)知識(shí)系統(tǒng)全面進(jìn)行了了解,讓我里出了我設(shè)計(jì)的框架,遇到困難時(shí)先是苦思冥想在向同學(xué)請(qǐng)教。//各個(gè)進(jìn)制之間的轉(zhuǎn)化 JMenuItem fileMenu,exitItemOfFile,s,t, about, me。 ()。 (false)。 jian = new JButton()。 num6=new JButton(6)。 (eight)。 (eight)。 (this)。 (this)。 (this)。 ()。 setJMenuBar(mainMenu)。 (s)。 +\n)。 (●標(biāo)準(zhǔn)型 )。 (true)。 ((intbin))。 clear = true。 clear = true。 } if(temp==num9){ if(clear==false) ()。 }//第一層判斷是否里面含有小數(shù)點(diǎn) 。 clear = false。 if ((0) == 39。.39。 String s = ()。39。 for (int i = ()。 case 12: strHexNum += C。 while (decNum != 0) { if (decNum 1){ strBinNum += (decNum % 2)。 }else{ strBinNum += (decNum)。 case 11: strHexNum += B。 i++) strDecNum = 0 + strDecNum。39。 i ()。 for (j = i + 1。) (負(fù)數(shù)不能開根號(hào) )。 ()。 } try{ if (temp == jia){//加法 qian = (())。 clear = true。 (() + 4)。 } if (temp == c){ (0.)。 } if (temp == ten){ String dec = ()。 (true)。 (false)。 (about)。 (this)。 JMenu viewMenu = new JMenu(查看 )。 (this)。 (this)。 (this)。 (this)。 (Back)。 (text)。 num8=new JButton(8)。 chu = new JButton(247。 (false)。 JPanel cp2=new JPanel()。//單選按扭 JButton Back,ce,c,num0,num1,num2,num3,num4,num5,num6,num7,num8,num9。設(shè)計(jì)過程中遇到了不少麻煩:如進(jìn)制間的轉(zhuǎn)換,也遇到了平時(shí)學(xué)習(xí)中老師強(qiáng)調(diào)與教過的疑難點(diǎn) ,不懂的通過翻閱資 19 料和與同學(xué)間的討論都一一解決了。 }else{ strBinNum += (decNum)。 case 11: strHexNum += B。 i++) strDecNum = 0 + strDecNum。)){ isNumber = false。 } else (s)。
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1