comparison ConnectionManager/src/connectionmanager/DatabaseSelectorDialog.form @ 7:ea3ae6ce9fea default tip

Improved Java interface look.
author Daniele Nicolodi <daniele@grinta.net>
date Wed, 23 Nov 2011 20:27:21 +0100
parents 35f1cfcaa5a9
children
comparison
equal deleted inserted replaced
6:670905eb688a 7:ea3ae6ce9fea
1 <?xml version="1.0" encoding="UTF-8" ?> 1 <?xml version="1.0" encoding="UTF-8" ?>
2 2
3 <Form version="1.3" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JDialogFormInfo"> 3 <Form version="1.6" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">
4 <Properties> 4 <Properties>
5 <Property name="defaultCloseOperation" type="int" value="2"/> 5 <Property name="defaultCloseOperation" type="int" value="2"/>
6 <Property name="title" type="java.lang.String" value="Select a connection"/> 6 <Property name="title" type="java.lang.String" value="Select database"/>
7 <Property name="resizable" type="boolean" value="false"/>
7 </Properties> 8 </Properties>
8 <SyntheticProperties> 9 <SyntheticProperties>
9 <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 10 <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
10 </SyntheticProperties> 11 </SyntheticProperties>
12 <Events>
13 <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="formKeyPressed"/>
14 </Events>
11 <AuxValues> 15 <AuxValues>
12 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 16 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
13 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 17 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
14 <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 18 <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
15 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 19 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
21 </AuxValues> 25 </AuxValues>
22 26
23 <Layout> 27 <Layout>
24 <DimensionLayout dim="0"> 28 <DimensionLayout dim="0">
25 <Group type="103" groupAlignment="0" attributes="0"> 29 <Group type="103" groupAlignment="0" attributes="0">
26 <Group type="102" attributes="0"> 30 <Group type="102" alignment="1" attributes="0">
27 <Group type="103" groupAlignment="0" attributes="0"> 31 <EmptySpace max="-2" attributes="0"/>
32 <Group type="103" groupAlignment="1" attributes="0">
33 <Component id="scrollPane" alignment="0" pref="409" max="32767" attributes="0"/>
28 <Group type="102" alignment="1" attributes="0"> 34 <Group type="102" alignment="1" attributes="0">
29 <EmptySpace min="-2" pref="183" max="-2" attributes="0"/> 35 <Component id="newButton" max="32767" attributes="0"/>
36 <EmptySpace min="-2" pref="184" max="-2" attributes="0"/>
30 <Component id="cancelButton" max="32767" attributes="0"/> 37 <Component id="cancelButton" max="32767" attributes="0"/>
31 <EmptySpace max="-2" attributes="0"/> 38 <EmptySpace type="unrelated" 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"/> 39 <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>
40 </Group> 41 </Group>
41 <EmptySpace max="-2" attributes="0"/> 42 <EmptySpace max="-2" attributes="0"/>
42 </Group> 43 </Group>
43 </Group> 44 </Group>
44 </DimensionLayout> 45 </DimensionLayout>
45 <DimensionLayout dim="1"> 46 <DimensionLayout dim="1">
46 <Group type="103" groupAlignment="0" attributes="0"> 47 <Group type="103" groupAlignment="0" attributes="0">
47 <Group type="102" alignment="1" attributes="0"> 48 <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"/> 49 <EmptySpace max="-2" attributes="0"/>
50 <Component id="scrollPane" pref="212" max="32767" attributes="0"/>
51 <EmptySpace type="separate" max="-2" attributes="0"/>
51 <Group type="103" groupAlignment="2" attributes="0"> 52 <Group type="103" groupAlignment="2" attributes="0">
53 <Component id="newButton" alignment="2" min="-2" max="-2" attributes="0"/>
52 <Component id="selectButton" alignment="2" min="-2" max="-2" attributes="0"/> 54 <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 <Component id="cancelButton" alignment="2" min="-2" max="-2" attributes="0"/>
55 </Group> 56 </Group>
56 <EmptySpace min="-2" pref="207" max="-2" attributes="0"/> 57 <EmptySpace max="-2" attributes="0"/>
57 </Group> 58 </Group>
58 </Group> 59 </Group>
59 </DimensionLayout> 60 </DimensionLayout>
60 </Layout> 61 </Layout>
61 <SubComponents> 62 <SubComponents>
81 </Properties> 82 </Properties>
82 <Events> 83 <Events>
83 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="selectButtonActionPerformed"/> 84 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="selectButtonActionPerformed"/>
84 </Events> 85 </Events>
85 </Component> 86 </Component>
86 <Container class="javax.swing.JScrollPane" name="jScrollPane1"> 87 <Container class="javax.swing.JScrollPane" name="scrollPane">
87 <AuxValues> 88 <AuxValues>
88 <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> 89 <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
89 </AuxValues> 90 </AuxValues>
90 91
91 <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> 92 <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
92 <SubComponents> 93 <SubComponents>
93 <Component class="javax.swing.JTable" name="databasesTable"> 94 <Component class="javax.swing.JTable" name="databasesTable">
94 <Properties> 95 <Properties>
95 <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> 96 <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
96 <Table columnCount="3" rowCount="0"> 97 <Table columnCount="3" rowCount="8">
97 <Column editable="false" title="Hostname" type="java.lang.String"/> 98 <Column editable="false" title="Hostname" type="java.lang.String">
99 <Data value="1"/>
100 <Data value="2"/>
101 <Data value="3"/>
102 <Data value="4"/>
103 <Data value="5"/>
104 <Data value="6"/>
105 <Data value="7"/>
106 <Data value="8"/>
107 </Column>
98 <Column editable="false" title="Database" type="java.lang.String"/> 108 <Column editable="false" title="Database" type="java.lang.String"/>
99 <Column editable="false" title="Username" type="java.lang.String"/> 109 <Column editable="false" title="Username" type="java.lang.String"/>
100 </Table> 110 </Table>
111 </Property>
112 <Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor">
113 <TableColumnModel selectionModel="0">
114 <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true">
115 <Title/>
116 <Editor/>
117 <Renderer/>
118 </Column>
119 <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true">
120 <Title/>
121 <Editor/>
122 <Renderer/>
123 </Column>
124 <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true">
125 <Title/>
126 <Editor/>
127 <Renderer/>
128 </Column>
129 </TableColumnModel>
130 </Property>
131 <Property name="focusable" type="boolean" value="false"/>
132 <Property name="gridColor" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
133 <Color blue="cc" green="cc" red="cc" type="rgb"/>
134 </Property>
135 <Property name="intercellSpacing" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
136 <Dimension value="[0, 0]"/>
137 </Property>
138 <Property name="rowHeight" type="int" value="24"/>
139 <Property name="selectionModel" type="javax.swing.ListSelectionModel" editor="org.netbeans.modules.form.editors2.JTableSelectionModelEditor">
140 <JTableSelectionModel selectionMode="0"/>
141 </Property>
142 <Property name="showVerticalLines" type="boolean" value="false"/>
143 <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor">
144 <TableHeader reorderingAllowed="true" resizingAllowed="true"/>
101 </Property> 145 </Property>
102 </Properties> 146 </Properties>
103 </Component> 147 </Component>
104 </SubComponents> 148 </SubComponents>
105 </Container> 149 </Container>