Mercurial > hg > ltpda-connection-manager
comparison ConnectionManager/src/connectionmanager/CredentialsDialog.form @ 5:35f1cfcaa5a9
Add crude Java GUI.
author | Daniele Nicolodi <daniele@science.unitn.it> |
---|---|
date | Wed, 02 Jun 2010 17:29:18 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4:c706c10a76bd | 5:35f1cfcaa5a9 |
---|---|
1 <?xml version="1.0" encoding="UTF-8" ?> | |
2 | |
3 <Form version="1.3" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JDialogFormInfo"> | |
4 <SyntheticProperties> | |
5 <SyntheticProperty name="formSizePolicy" type="int" value="1"/> | |
6 </SyntheticProperties> | |
7 <Events> | |
8 <EventHandler event="windowClosing" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="closeDialog"/> | |
9 </Events> | |
10 <AuxValues> | |
11 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> | |
12 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> | |
13 <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> | |
14 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> | |
15 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> | |
16 <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/> | |
17 <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> | |
18 <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> | |
19 <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> | |
20 </AuxValues> | |
21 | |
22 <Layout> | |
23 <DimensionLayout dim="0"> | |
24 <Group type="103" groupAlignment="0" attributes="0"> | |
25 <Group type="102" alignment="1" attributes="0"> | |
26 <EmptySpace pref="251" max="32767" attributes="0"/> | |
27 <Component id="cancelButton" min="-2" max="-2" attributes="0"/> | |
28 <EmptySpace type="unrelated" max="-2" attributes="0"/> | |
29 <Component id="okButton" min="-2" max="-2" attributes="0"/> | |
30 <EmptySpace max="-2" attributes="0"/> | |
31 </Group> | |
32 <Group type="103" rootIndex="1" groupAlignment="0" attributes="0"> | |
33 <Group type="102" alignment="0" attributes="0"> | |
34 <EmptySpace min="-2" pref="36" max="-2" attributes="0"/> | |
35 <Group type="103" groupAlignment="0" attributes="0"> | |
36 <Component id="cacheCheckBox" alignment="0" pref="351" max="32767" attributes="0"/> | |
37 <Group type="102" alignment="0" attributes="0"> | |
38 <Group type="103" groupAlignment="0" attributes="0"> | |
39 <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/> | |
40 <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/> | |
41 </Group> | |
42 <EmptySpace type="unrelated" max="-2" attributes="0"/> | |
43 <Group type="103" groupAlignment="0" attributes="0"> | |
44 <Component id="passwordField" alignment="0" pref="271" max="32767" attributes="1"/> | |
45 <Component id="usernameField" alignment="0" pref="271" max="32767" attributes="0"/> | |
46 </Group> | |
47 </Group> | |
48 <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="0"/> | |
49 </Group> | |
50 <EmptySpace min="-2" pref="36" max="-2" attributes="0"/> | |
51 </Group> | |
52 </Group> | |
53 </Group> | |
54 </DimensionLayout> | |
55 <DimensionLayout dim="1"> | |
56 <Group type="103" groupAlignment="0" attributes="0"> | |
57 <Group type="102" alignment="1" attributes="0"> | |
58 <EmptySpace pref="266" max="32767" attributes="0"/> | |
59 <Group type="103" groupAlignment="3" attributes="0"> | |
60 <Component id="okButton" alignment="3" min="-2" max="-2" attributes="0"/> | |
61 <Component id="cancelButton" alignment="3" min="-2" max="-2" attributes="0"/> | |
62 </Group> | |
63 <EmptySpace max="-2" attributes="0"/> | |
64 </Group> | |
65 <Group type="103" rootIndex="1" groupAlignment="0" attributes="0"> | |
66 <Group type="102" alignment="0" attributes="0"> | |
67 <EmptySpace min="-2" pref="81" max="-2" attributes="0"/> | |
68 <Component id="jLabel3" min="-2" max="-2" attributes="0"/> | |
69 <EmptySpace max="32767" attributes="0"/> | |
70 <Group type="103" groupAlignment="3" attributes="0"> | |
71 <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> | |
72 <Component id="usernameField" alignment="3" min="-2" pref="21" max="-2" attributes="0"/> | |
73 </Group> | |
74 <EmptySpace min="-2" pref="14" max="-2" attributes="0"/> | |
75 <Group type="103" groupAlignment="3" attributes="0"> | |
76 <Component id="passwordField" alignment="3" min="-2" max="-2" attributes="0"/> | |
77 <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> | |
78 </Group> | |
79 <EmptySpace type="unrelated" max="-2" attributes="0"/> | |
80 <Component id="cacheCheckBox" min="-2" max="-2" attributes="0"/> | |
81 <EmptySpace min="-2" pref="116" max="-2" attributes="0"/> | |
82 </Group> | |
83 </Group> | |
84 </Group> | |
85 </DimensionLayout> | |
86 </Layout> | |
87 <SubComponents> | |
88 <Component class="javax.swing.JButton" name="okButton"> | |
89 <Properties> | |
90 <Property name="text" type="java.lang.String" value="Connect"/> | |
91 <Property name="selected" type="boolean" value="true"/> | |
92 </Properties> | |
93 <Events> | |
94 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="okButtonActionPerformed"/> | |
95 </Events> | |
96 </Component> | |
97 <Component class="javax.swing.JButton" name="cancelButton"> | |
98 <Properties> | |
99 <Property name="text" type="java.lang.String" value="Cancel"/> | |
100 </Properties> | |
101 <Events> | |
102 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cancelButtonActionPerformed"/> | |
103 </Events> | |
104 </Component> | |
105 <Component class="javax.swing.JLabel" name="jLabel3"> | |
106 <Properties> | |
107 <Property name="text" type="java.lang.String" value="Credentials for mysql://%s/%s/"/> | |
108 </Properties> | |
109 </Component> | |
110 <Component class="javax.swing.JPasswordField" name="passwordField"> | |
111 </Component> | |
112 <Component class="javax.swing.JCheckBox" name="cacheCheckBox"> | |
113 <Properties> | |
114 <Property name="text" type="java.lang.String" value="Remember this password"/> | |
115 </Properties> | |
116 </Component> | |
117 <Component class="javax.swing.JComboBox" name="usernameField"> | |
118 <Properties> | |
119 <Property name="editable" type="boolean" value="true"/> | |
120 <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor"> | |
121 <StringArray count="0"/> | |
122 </Property> | |
123 </Properties> | |
124 <Events> | |
125 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="usernameFieldActionPerformed"/> | |
126 </Events> | |
127 </Component> | |
128 <Component class="javax.swing.JLabel" name="jLabel2"> | |
129 <Properties> | |
130 <Property name="text" type="java.lang.String" value="Password:"/> | |
131 </Properties> | |
132 </Component> | |
133 <Component class="javax.swing.JLabel" name="jLabel1"> | |
134 <Properties> | |
135 <Property name="text" type="java.lang.String" value="Username:"/> | |
136 </Properties> | |
137 </Component> | |
138 </SubComponents> | |
139 </Form> |