求救

来源:互联网 发布:软件结构设计 编辑:程序博客网 时间:2024/06/05 16:30

如何使用matisse form,我已经成功在机器上安装了matisse form,但是我发现,在jframe上放完控件之后,.java文件没有改变,运行之后也只有一个框框,求解啊!

/*
 * FrmLogin.java
 *
 * Created on __DATE__, __TIME__
 */


package gui;


import java.awt.Font;


import javax.swing.*;




/**
 *
 * @author  __USER__
 */
public class FrmLogin extends javax.swing.JFrame {


    /** Creates new form FrmLogin */
    public FrmLogin() {
        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.
     */
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {
    
   
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 400, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 300, Short.MAX_VALUE)
        );
        pack();
    }
    // </editor-fold>//GEN-END:initComponents


    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new FrmLogin().setVisible(true);
            }
        });
    }


    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables


}