
package jp.riken.brain.ni.samuraigraph.application;

/**
 * A panel for the message dialog of confirmation in closing the window.
 *
 */
public class SGCloseWindowConfirmPanel extends javax.swing.JPanel {
    
    /**
	 * 
	 */
	private static final long serialVersionUID = -6163220839446095677L;
	/** Creates new form SGCloseWindowConfirmPanel */
    public SGCloseWindowConfirmPanel() {
        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.
     */
    private void initComponents() {//GEN-BEGIN:initComponents
        java.awt.GridBagConstraints gridBagConstraints;

        mLabel1 = new javax.swing.JLabel();
        mLabel2 = new javax.swing.JLabel();
        mLabel3 = new javax.swing.JLabel();

        setLayout(new java.awt.GridBagLayout());

        mLabel1.setFont(new java.awt.Font("Dialog", 0, 18));
        mLabel1.setText("Save changes to the property file");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        add(mLabel1, gridBagConstraints);

        mLabel2.setFont(new java.awt.Font("Dialog", 0, 18));
        mLabel2.setText("before closing?");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 5, 0);
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        add(mLabel2, gridBagConstraints);

        mLabel3.setFont(new java.awt.Font("Dialog", 0, 12));
        mLabel3.setText("If you close without saving, your changes will be discarded.");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        add(mLabel3, gridBagConstraints);

    }//GEN-END:initComponents
    
    
    // 変数宣言 - 編集不可//GEN-BEGIN:variables
    private javax.swing.JLabel mLabel1;
    private javax.swing.JLabel mLabel2;
    private javax.swing.JLabel mLabel3;
    // 変数宣言の終わり//GEN-END:variables
    
}
