comparison ConnectionManager/src/connectionmanager/DatabaseSelectorDialog.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 ea3ae6ce9fea
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 <Properties>
5 <Property name="defaultCloseOperation" type="int" value="2"/>
6 <Property name="title" type="java.lang.String" value="Select a connection"/>
7 </Properties>
8 <SyntheticProperties>
9 <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
10 </SyntheticProperties>
11 <AuxValues>
12 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
13 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
14 <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
15 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
16 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
17 <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
18 <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
19 <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
20 <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
21 </AuxValues>
22
23 <Layout>
24 <DimensionLayout dim="0">
25 <Group type="103" groupAlignment="0" attributes="0">
26 <Group type="102" attributes="0">
27 <Group type="103" groupAlignment="0" attributes="0">
28 <Group type="102" alignment="1" attributes="0">
29 <EmptySpace min="-2" pref="183" max="-2" attributes="0"/>
30 <Component id="cancelButton" max="32767" attributes="0"/>
31 <EmptySpace max="-2" attributes="0"/>
32 <Component id="newButton" max="32767" attributes="0"/>
33 <EmptySpace max="-2" attributes="0"/>
34 <Component id="selectButton" max="32767" attributes="0"/>
35 </Group>
36 <Group type="102" alignment="1" attributes="0">
37 <EmptySpace max="-2" attributes="0"/>
38 <Component id="jScrollPane1" pref="400" max="32767" attributes="0"/>
39 </Group>
40 </Group>
41 <EmptySpace max="-2" attributes="0"/>
42 </Group>
43 </Group>
44 </DimensionLayout>
45 <DimensionLayout dim="1">
46 <Group type="103" groupAlignment="0" attributes="0">
47 <Group type="102" alignment="1" attributes="0">
48 <EmptySpace pref="20" max="32767" attributes="0"/>
49 <Component id="jScrollPane1" min="-2" pref="225" max="-2" attributes="0"/>
50 <EmptySpace max="-2" attributes="0"/>
51 <Group type="103" groupAlignment="2" attributes="0">
52 <Component id="selectButton" alignment="2" min="-2" max="-2" attributes="0"/>
53 <Component id="newButton" alignment="2" min="-2" max="-2" attributes="0"/>
54 <Component id="cancelButton" alignment="2" min="-2" max="-2" attributes="0"/>
55 </Group>
56 <EmptySpace min="-2" pref="207" max="-2" attributes="0"/>
57 </Group>
58 </Group>
59 </DimensionLayout>
60 </Layout>
61 <SubComponents>
62 <Component class="javax.swing.JButton" name="cancelButton">
63 <Properties>
64 <Property name="text" type="java.lang.String" value="Cancel"/>
65 </Properties>
66 <Events>
67 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cancelButtonActionPerformed"/>
68 </Events>
69 </Component>
70 <Component class="javax.swing.JButton" name="newButton">
71 <Properties>
72 <Property name="text" type="java.lang.String" value="New"/>
73 </Properties>
74 <Events>
75 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="newButtonActionPerformed"/>
76 </Events>
77 </Component>
78 <Component class="javax.swing.JButton" name="selectButton">
79 <Properties>
80 <Property name="text" type="java.lang.String" value="Select"/>
81 </Properties>
82 <Events>
83 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="selectButtonActionPerformed"/>
84 </Events>
85 </Component>
86 <Container class="javax.swing.JScrollPane" name="jScrollPane1">
87 <AuxValues>
88 <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
89 </AuxValues>
90
91 <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
92 <SubComponents>
93 <Component class="javax.swing.JTable" name="databasesTable">
94 <Properties>
95 <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
96 <Table columnCount="3" rowCount="0">
97 <Column editable="false" title="Hostname" type="java.lang.String"/>
98 <Column editable="false" title="Database" type="java.lang.String"/>
99 <Column editable="false" title="Username" type="java.lang.String"/>
100 </Table>
101 </Property>
102 </Properties>
103 </Component>
104 </SubComponents>
105 </Container>
106 </SubComponents>
107 </Form>