找回密碼 或 安全提問
 註冊
|註冊|登錄

伊莉討論區

搜索
感激所有對伊莉作出奉獻的人尊貴會員無限下載附件儲值後自動升級用戶組
刀劍神域cosplay一拳超人gefate按摩adobe
國中孕ませ少免費檔案ゲヘナ她戰死後森澤培羅

休閒聊天興趣交流學術文化旅遊交流飲食交流家庭事務PC GAMETV GAME
熱門線上其他線上感情感性寵物交流家族門派動漫交流貼圖分享BL/GL
音樂世界影視娛樂女性頻道潮流資訊BT下載區GB下載區下載分享短片
電腦資訊數碼產品手機交流交易廣場網站事務長篇小說體育運動時事經濟
上班一族博彩娛樂

[繁]秒殺外掛太強了,

[繁]不死不運24- (完)

[繁/無修正]婚戒物語

[繁][720P]海賊王1098

[繁]SYNDUALITY Noir

[繁]肌肉魔法使-MASHL
C & C++ 語言C# 語言Visual Basic 語言PHP 語言JAVA 語言
查看: 5884|回復: 3

[問題] 用JAVA SWING做一個簡單計算機[複製鏈接]

Rank: 3Rank: 3Rank: 3

帖子
1019
積分
1274 點
潛水值
18496 米
發表於 2013-1-18 08:01 PM|顯示全部樓層
回覆中加入附件並不會使你增加積分,請使用主題方式發佈附件。
本帖最後由 霸王蝦 於 2013-1-18 08:02 PM 編輯

我想要做一個用JAVA寫簡單的加減乘除的視窗化可是一直出現小問題能請高手幫我一下嗎@@
還有 我想要問eclipse軟體可以寫JAVA SWING嗎?
(怕是問題出在軟體上面)
所有積分大於負-100的壞孩子,將可獲得重新機會成為懲罰生,權限跟幼兒生一樣。

使用道具檢舉

Rank: 1

帖子
122
積分
127 點
潛水值
21923 米
發表於 2013-1-19 03:47 PM|顯示全部樓層
若有安裝色情守門員,可用無界、自由門等軟件瀏覽伊莉。或使用以下網址瀏覽伊莉: http://www.eyny.com:81/index.php
eclipse 可以寫 JAVA SWING..
如果你忘記伊莉的密碼,請在登入時按右邊出現的 '找回密碼'。輸入相關資料後送出,系統就會把密碼寄到你的E-Mail。

使用道具檢舉

帖子
335
積分
13 點
潛水值
18490 米
發表於 2013-1-19 04:50 PM|顯示全部樓層
如果發覺自己無法使用一些功能或出現問題,請按重新整理一次,並待所有網頁內容完全載入後5秒才進行操作。
我是用Netbeans拉出來的,不過沒有加上計算功能喔,只有UI
  1. public class CalForm extends javax.swing.JFrame {

  2.     /**
  3.      * Creates new form CalForm
  4.      */
  5.     public CalForm() {
  6.         initComponents();
  7.     }

  8.     /**
  9.      * This method is called from within the constructor to initialize the form.
  10.      * WARNING: Do NOT modify this code. The content of this method is always
  11.      * regenerated by the Form Editor.
  12.      */
  13.     @SuppressWarnings("unchecked")
  14.     // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  15.     private void initComponents() {

  16.         jButton3 = new javax.swing.JButton();
  17.         jTextField1 = new javax.swing.JTextField();
  18.         jPanel1 = new javax.swing.JPanel();
  19.         jButton2 = new javax.swing.JButton();
  20.         jButton7 = new javax.swing.JButton();
  21.         jButton8 = new javax.swing.JButton();
  22.         jButton9 = new javax.swing.JButton();
  23.         jButton10 = new javax.swing.JButton();
  24.         jButton11 = new javax.swing.JButton();
  25.         jButton12 = new javax.swing.JButton();
  26.         jButton13 = new javax.swing.JButton();
  27.         jButton14 = new javax.swing.JButton();
  28.         jButton15 = new javax.swing.JButton();
  29.         jButton16 = new javax.swing.JButton();
  30.         jButton17 = new javax.swing.JButton();
  31.         jButton18 = new javax.swing.JButton();
  32.         jButton19 = new javax.swing.JButton();
  33.         jButton20 = new javax.swing.JButton();
  34.         jButton21 = new javax.swing.JButton();
  35.         jButton22 = new javax.swing.JButton();

  36.         jButton3.setText("jButton1");

  37.         setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

  38.         jTextField1.setText("0");

  39.         jButton2.setText("+");
  40.         jButton2.addActionListener(new java.awt.event.ActionListener() {
  41.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  42.                 jButton2ActionPerformed(evt);
  43.             }
  44.         });

  45.         jButton7.setText("-");
  46.         jButton7.addActionListener(new java.awt.event.ActionListener() {
  47.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  48.                 jButton7ActionPerformed(evt);
  49.             }
  50.         });

  51.         jButton8.setText("x");
  52.         jButton8.addActionListener(new java.awt.event.ActionListener() {
  53.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  54.                 jButton8ActionPerformed(evt);
  55.             }
  56.         });

  57.         jButton9.setText("/");
  58.         jButton9.addActionListener(new java.awt.event.ActionListener() {
  59.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  60.                 jButton9ActionPerformed(evt);
  61.             }
  62.         });

  63.         jButton10.setText("AC");
  64.         jButton10.addActionListener(new java.awt.event.ActionListener() {
  65.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  66.                 jButton10ActionPerformed(evt);
  67.             }
  68.         });

  69.         jButton11.setText("1");

  70.         jButton12.setText("2");
  71.         jButton12.addActionListener(new java.awt.event.ActionListener() {
  72.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  73.                 jButton12ActionPerformed(evt);
  74.             }
  75.         });

  76.         jButton13.setText("3");
  77.         jButton13.addActionListener(new java.awt.event.ActionListener() {
  78.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  79.                 jButton13ActionPerformed(evt);
  80.             }
  81.         });

  82.         jButton14.setText("5");

  83.         jButton15.setText("4");

  84.         jButton16.setText("6");
  85.         jButton16.addActionListener(new java.awt.event.ActionListener() {
  86.             public void actionPerformed(java.awt.event.ActionEvent evt) {
  87.                 jButton16ActionPerformed(evt);
  88.             }
  89.         });

  90.         jButton17.setText("8");

  91.         jButton18.setText("7");

  92.         jButton19.setText("9");

  93.         jButton20.setText("0");

  94.         jButton21.setText("00");

  95.         jButton22.setText("=");

  96.         javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
  97.         jPanel1.setLayout(jPanel1Layout);
  98.         jPanel1Layout.setHorizontalGroup(
  99.             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  100.             .addGroup(jPanel1Layout.createSequentialGroup()
  101.                 .addContainerGap()
  102.                 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  103.                     .addGroup(jPanel1Layout.createSequentialGroup()
  104.                         .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  105.                             .addGroup(jPanel1Layout.createSequentialGroup()
  106.                                 .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
  107.                                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  108.                                 .addComponent(jButton7, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
  109.                                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  110.                                 .addComponent(jButton8, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE))
  111.                             .addGroup(jPanel1Layout.createSequentialGroup()
  112.                                 .addGap(0, 11, Short.MAX_VALUE)
  113.                                 .addComponent(jButton11, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
  114.                                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  115.                                 .addComponent(jButton12, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
  116.                                 .addGap(4, 4, 4)))
  117.                         .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  118.                             .addGroup(jPanel1Layout.createSequentialGroup()
  119.                                 .addGap(2, 2, 2)
  120.                                 .addComponent(jButton9, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
  121.                                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
  122.                                 .addComponent(jButton10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
  123.                             .addGroup(jPanel1Layout.createSequentialGroup()
  124.                                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  125.                                 .addComponent(jButton13, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
  126.                                 .addGap(0, 44, Short.MAX_VALUE))))
  127.                     .addGroup(jPanel1Layout.createSequentialGroup()
  128.                         .addGap(11, 11, 11)
  129.                         .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  130.                             .addGroup(jPanel1Layout.createSequentialGroup()
  131.                                 .addComponent(jButton18, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
  132.                                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  133.                                 .addComponent(jButton17, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
  134.                                 .addGap(4, 4, 4)
  135.                                 .addComponent(jButton19, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE))
  136.                             .addGroup(jPanel1Layout.createSequentialGroup()
  137.                                 .addComponent(jButton15, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
  138.                                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  139.                                 .addComponent(jButton14, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
  140.                                 .addGap(4, 4, 4)
  141.                                 .addComponent(jButton16, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE))
  142.                             .addGroup(jPanel1Layout.createSequentialGroup()
  143.                                 .addComponent(jButton21, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
  144.                                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  145.                                 .addComponent(jButton20, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
  146.                                 .addGap(4, 4, 4)
  147.                                 .addComponent(jButton22, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)))
  148.                         .addGap(0, 0, Short.MAX_VALUE))))
  149.         );
  150.         jPanel1Layout.setVerticalGroup(
  151.             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  152.             .addGroup(jPanel1Layout.createSequentialGroup()
  153.                 .addContainerGap()
  154.                 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  155.                     .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
  156.                     .addComponent(jButton7, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
  157.                     .addComponent(jButton8, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
  158.                     .addComponent(jButton9, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
  159.                     .addComponent(jButton10, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
  160.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
  161.                 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  162.                     .addComponent(jButton11, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
  163.                     .addComponent(jButton12, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
  164.                     .addComponent(jButton13, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))
  165.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  166.                 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  167.                     .addComponent(jButton15, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
  168.                     .addComponent(jButton14, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
  169.                     .addComponent(jButton16, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))
  170.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  171.                 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  172.                     .addComponent(jButton18, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
  173.                     .addComponent(jButton17, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
  174.                     .addComponent(jButton19, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))
  175.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
  176.                 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
  177.                     .addComponent(jButton21, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
  178.                     .addComponent(jButton20, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
  179.                     .addComponent(jButton22, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))
  180.                 .addContainerGap(21, Short.MAX_VALUE))
  181.         );

  182.         javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
  183.         getContentPane().setLayout(layout);
  184.         layout.setHorizontalGroup(
  185.             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  186.             .addGroup(layout.createSequentialGroup()
  187.                 .addContainerGap()
  188.                 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
  189.                     .addComponent(jTextField1)
  190.                     .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
  191.                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
  192.         );
  193.         layout.setVerticalGroup(
  194.             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
  195.             .addGroup(layout.createSequentialGroup()
  196.                 .addContainerGap()
  197.                 .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
  198.                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
  199.                 .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
  200.                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
  201.         );

  202.         pack();
  203.     }// </editor-fold>//GEN-END:initComponents

  204.     private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
  205.         // TODO add your handling code here:
  206.     }//GEN-LAST:event_jButton2ActionPerformed

  207.     private void jButton7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton7ActionPerformed
  208.         // TODO add your handling code here:
  209.     }//GEN-LAST:event_jButton7ActionPerformed

  210.     private void jButton8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton8ActionPerformed
  211.         // TODO add your handling code here:
  212.     }//GEN-LAST:event_jButton8ActionPerformed

  213.     private void jButton9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton9ActionPerformed
  214.         // TODO add your handling code here:
  215.     }//GEN-LAST:event_jButton9ActionPerformed

  216.     private void jButton10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton10ActionPerformed
  217.         // TODO add your handling code here:
  218.     }//GEN-LAST:event_jButton10ActionPerformed

  219.     private void jButton12ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton12ActionPerformed
  220.         // TODO add your handling code here:
  221.     }//GEN-LAST:event_jButton12ActionPerformed

  222.     private void jButton13ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton13ActionPerformed
  223.         // TODO add your handling code here:
  224.     }//GEN-LAST:event_jButton13ActionPerformed

  225.     private void jButton16ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton16ActionPerformed
  226.         // TODO add your handling code here:
  227.     }//GEN-LAST:event_jButton16ActionPerformed

  228.     /**
  229.      * @param args the command line arguments
  230.      */
  231.     public static void main(String args[]) {
  232.         /* Set the Nimbus look and feel */
  233.         //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
  234.         /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
  235.          * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
  236.          */
  237.         try {
  238.             for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
  239.                 if ("Nimbus".equals(info.getName())) {
  240.                     javax.swing.UIManager.setLookAndFeel(info.getClassName());
  241.                     break;
  242.                 }
  243.             }
  244.         } catch (ClassNotFoundException ex) {
  245.             java.util.logging.Logger.getLogger(CalForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  246.         } catch (InstantiationException ex) {
  247.             java.util.logging.Logger.getLogger(CalForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  248.         } catch (IllegalAccessException ex) {
  249.             java.util.logging.Logger.getLogger(CalForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  250.         } catch (javax.swing.UnsupportedLookAndFeelException ex) {
  251.             java.util.logging.Logger.getLogger(CalForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
  252.         }
  253.         //</editor-fold>

  254.         /* Create and display the form */
  255.         java.awt.EventQueue.invokeLater(new Runnable() {
  256.             public void run() {
  257.                 new CalForm().setVisible(true);
  258.             }
  259.         });
  260.     }
  261.     // Variables declaration - do not modify//GEN-BEGIN:variables
  262.     private javax.swing.JButton jButton10;
  263.     private javax.swing.JButton jButton11;
  264.     private javax.swing.JButton jButton12;
  265.     private javax.swing.JButton jButton13;
  266.     private javax.swing.JButton jButton14;
  267.     private javax.swing.JButton jButton15;
  268.     private javax.swing.JButton jButton16;
  269.     private javax.swing.JButton jButton17;
  270.     private javax.swing.JButton jButton18;
  271.     private javax.swing.JButton jButton19;
  272.     private javax.swing.JButton jButton2;
  273.     private javax.swing.JButton jButton20;
  274.     private javax.swing.JButton jButton21;
  275.     private javax.swing.JButton jButton22;
  276.     private javax.swing.JButton jButton3;
  277.     private javax.swing.JButton jButton7;
  278.     private javax.swing.JButton jButton8;
  279.     private javax.swing.JButton jButton9;
  280.     private javax.swing.JPanel jPanel1;
  281.     private javax.swing.JTextField jTextField1;
  282.     // End of variables declaration//GEN-END:variables
  283. }
複製代碼
...
瀏覽完整內容,請先 註冊登入會員
成為伊莉的版主,你將獲得更高級和無限的權限。把你感興趣的版面一步步地發展和豐盛,那種滿足感等著你來嚐嚐喔。

使用道具檢舉

Rank: 2Rank: 2

帖子
1030
積分
291 點
潛水值
11837 米
發表於 2017-3-29 03:12 PM|顯示全部樓層
如果瀏覽伊莉時速度太慢或無法連接,可以使用其他分流瀏覽伊莉,www01.eyny.com(02,03)。
哇  樓上高手;只學過簡單的JAVA 物件部份沒學好,視窗UI功能老師沒教 只提了一個swing;想不到要寫一個簡單的計算機,光是畫面就要這麼多行程式!!!

點評

bluewingx 樓上那是手拉IDE自動寫好的程式碼才那麼多行吧,會寫的話,自己手寫建立,其實可以更簡潔  發表於 2017-6-4 01:48 PM

使用道具檢舉

您需要登錄後才可以回帖 登錄 | 註冊

Powered by Discuz!

© Comsenz Inc.

重要聲明:本討論區是以即時上載留言的方式運作,對所有留言的真實性、完整性及立場等,不負任何法律責任。而一切留言之言論只代表留言者個人意見,並非本網站之立場,用戶不應信賴內容,並應自行判斷內容之真實性。於有關情形下,用戶應尋求專業意見(如涉及醫療、法律或投資等問題)。 由於本討論區受到「即時上載留言」運作方式所規限,故不能完全監察所有留言,若讀者發現有留言出現問題,請聯絡我們。有權刪除任何留言及拒絕任何人士上載留言,同時亦有不刪除留言的權利。切勿上傳和撰寫 侵犯版權(未經授權)、粗言穢語、誹謗、渲染色情暴力或人身攻擊的言論,敬請自律。本網站保留一切法律權利。
回頂部