Welcome to mirror list, hosted at ThFree Co, Russian Federation.

JavaDialog.xft.xml « templates « JavaBinding « Extras « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 51b6d615027b8abdcc4b96c483a5b087a6e53fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0"?>
<Template Originator="Gary Gray" Language="JAVA" Created="09/05/2001" LastModified="09/05/2001">
	
	<TemplateConfiguration>
           <_Name>Java AWT Dialog</_Name>
           <Icon>md-gui-file</Icon>
           <Category>AWT</Category>
           <LanguageName>Java</LanguageName>
           <_Description>Creates an AWT dialog.</_Description>
	</TemplateConfiguration>
	
	<TemplateFiles>
           <File DefaultExtension=".java" DefaultName="Dialog">

<![CDATA[
/*
 * dialog.java
 *
 * created on ${Date} at ${Time}
 */

public class dialog extends java.awt.Dialog {

    /** Creates new form dialog */
    public dialog(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        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
        setLayout(new java.awt.BorderLayout());
        addWindowListener(new java.awt.event.WindowAdapter() {
                              public void windowClosing(java.awt.event.WindowEvent evt) {
                                  closeDialog(evt);
                              }
                          }
                         );
        pack();
    }//GEN-END:initComponents

    /** Closes the dialog */
    private void closeDialog(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_closeDialog
        setVisible(false);
        dispose();
    }//GEN-LAST:event_closeDialog

    /**
    * param args the command line arguments
    */
    public static void main(String args[]) {
        new dialog(new java.awt.Frame(), true).show();
    }

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

}]]>
		</File>		
	</TemplateFiles>
	
	<FileOptions/>
	
</Template>