<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 64  文章 - 9  trackbacks - 0
    <2025年5月>
    27282930123
    45678910
    11121314151617
    18192021222324
    25262728293031
    1234567

    常用鏈接

    留言簿(6)

    我參與的團隊

    隨筆分類(88)

    隨筆檔案(92)

    文章分類(142)

    文章檔案(182)

    天基成員

    學習園

    我的海角

    搜索

    •  

    積分與排名

    • 積分 - 182548
    • 排名 - 318

    最新評論

    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */

    /*
     * mainf.java
     *
     * Created on 2009-3-22, 10:16:38
     */

    /**
     *
     * @author ChengLu
     */
    public class mainf extends javax.swing.JFrame {

        /** Creates new form mainf */
        public mainf() {
            initComponents();
        }

        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
         */
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
        private void initComponents() {
            java.awt.GridBagConstraints gridBagConstraints;

            jLabel1 = new javax.swing.JLabel();
            jLabel2 = new javax.swing.JLabel();
            jButton2 = new javax.swing.JButton();
            jButton1 = new javax.swing.JButton();

            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            getContentPane().setLayout(new java.awt.GridBagLayout());

            jLabel1.setText("我做的好不好?");
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
            getContentPane().add(jLabel1, gridBagConstraints);

            jLabel2.setText("Email: chenglu@yeah.net    Web:http://www.mobai.org");
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 3;
            gridBagConstraints.gridheight = 8;
            getContentPane().add(jLabel2, gridBagConstraints);

            jButton2.setText("很好");
            jButton2.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    jButton2MouseClicked(evt);
                }
            });
            jButton2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton2ActionPerformed(evt);
                }
            });
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 1;
            getContentPane().add(jButton2, gridBagConstraints);

            jButton1.setText("不好");
            jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseEntered(java.awt.event.MouseEvent evt) {
                    jButton1MouseEntered(evt);
                }
            });
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
                }
            });
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 2;
            getContentPane().add(jButton1, gridBagConstraints);

            pack();
        }// </editor-fold>                       

        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
            // TODO add your handling code here:
        }                                       

        private void jButton1MouseEntered(java.awt.event.MouseEvent evt) {                                     
            // TODO add your handling code here:
            jButton1.setLocation(locatx(),locaty());
        }                                    

        private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                        
            // TODO add your handling code here:
        }                                       

        private void jButton2MouseClicked(java.awt.event.MouseEvent evt) {                                     
            // TODO add your handling code here:
            jButton2.setText("我就知道你最終會點這個的哈");

        }                                    
        public static int locatx(){
            return (int)(Math.random()*666);
        }
        public static int locaty(){
            return (int)(Math.random()*666);
        }
        /**
        * @param args the command line arguments
        */
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new mainf().setVisible(true);
                }
            });
        }

        // Variables declaration - do not modify                    
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        // End of variables declaration                  

    }


    posted on 2009-03-26 09:31 鵬凌 閱讀(176) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 亚洲AV无码欧洲AV无码网站| 亚洲国产成人a精品不卡在线| 亚洲av永久无码精品秋霞电影影院| 成人嫩草影院免费观看| 啊灬啊灬别停啊灬用力啊免费看| 亚洲久热无码av中文字幕| 国产在线国偷精品产拍免费| 亚洲av无码片vr一区二区三区| 日本一道一区二区免费看 | 亚洲av日韩av无码| 女人隐私秘视频黄www免费| 亚洲人成人无码网www电影首页| 成全高清在线观看免费| 亚洲国产二区三区久久| 国产男女爽爽爽爽爽免费视频| 亚洲乱码中文论理电影| 卡一卡二卡三在线入口免费| 国产AV日韩A∨亚洲AV电影| 亚洲视频一区二区| 四虎国产成人永久精品免费 | 四虎影视精品永久免费| 人妻18毛片a级毛片免费看| 亚洲色偷拍另类无码专区| 99精品免费观看| 亚洲成人激情小说| 久久久久噜噜噜亚洲熟女综合 | 亚洲免费观看网站| 亚洲乱妇老熟女爽到高潮的片| 亚洲国产精品丝袜在线观看| 天黑黑影院在线观看视频高清免费| 久久久久亚洲av无码专区导航| 成人免费无码大片a毛片| 美女裸免费观看网站| 亚洲AV无码专区国产乱码4SE| 亚洲成在人线aⅴ免费毛片| 免费看黄福利app导航看一下黄色录像| 国产午夜亚洲不卡| 一色屋成人免费精品网站| 免费国产a理论片| 亚洲精品美女在线观看| 免费国内精品久久久久影院|